From 1e48ee9e54e483bcd25319d7d192fffd91d29cb7 Mon Sep 17 00:00:00 2001 From: luofeng14 Date: Sat, 2 Mar 2024 02:02:00 +0000 Subject: [PATCH] support clang build Signed-off-by: luofeng14 --- syslinux.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/syslinux.spec b/syslinux.spec index eca0e89..376a9bb 100644 --- a/syslinux.spec +++ b/syslinux.spec @@ -2,7 +2,7 @@ Name: syslinux Version: 6.04 -Release: 14 +Release: 15 License: GPLv2+ Summary: The Syslinux boot loader collection URL: http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project @@ -92,8 +92,8 @@ Modules for 64-bit UEFI systems. %autosetup -n syslinux-6.04-pre1 -p1 %build -make RPMCFLAGS='%{optflags}' RPMLDFLAGS='%{build_ldflags}' bios clean all -make RPMCFLAGS='%{optflags}' RPMLDFLAGS='%{build_ldflags}' efi64 clean all +make CC="%{__cc}" RPMCFLAGS='%{optflags}' RPMLDFLAGS='%{build_ldflags}' bios clean all +make CC="%{__cc}" RPMCFLAGS='%{optflags}' RPMLDFLAGS='%{build_ldflags}' efi64 clean all %install rm -rf %{buildroot} @@ -162,6 +162,9 @@ fi %{_datadir}/syslinux/efi64 %changelog +* Fri Mar 1 2024 luofeng - 6.04-15 +- support clang build + * Tue Jul 11 2023 zhangpan - 6.04-14 - fix CVE-2016-9840 CVE-2016-9841 CVE-2016-9842 CVE-2016-9843 -- Gitee