diff --git a/busybox.spec b/busybox.spec index 5afd82b4184eccf13a84307f0b7f64ac4d884250..401abf02f6dd6ea7e88e6e116639d587006a2299 100644 --- a/busybox.spec +++ b/busybox.spec @@ -4,7 +4,7 @@ %endif %if "%{!?RELEASE:1}" -%define RELEASE 3 +%define RELEASE 4 %endif Epoch: 1 @@ -62,7 +62,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="-Wl,-z,now" cp %{SOURCE3} .config yes "" | make oldconfig && \ cat .config && \ -make V=1 %{?_smp_mflags} CC="gcc $RPM_OPT_FLAGS" +make V=1 %{?_smp_mflags} CC="%{__cc} $RPM_OPT_FLAGS" cp busybox_unstripped busybox.dynamic cp docs/busybox.1 docs/busybox.dynamic.1 @@ -97,6 +97,9 @@ install -m 644 docs/busybox.dynamic.1 $RPM_BUILD_ROOT/%{_mandir}/man1/busybox.1 %{_mandir}/man1/busybox.petitboot.1.gz %changelog +* Wed Mar 20 2024 wangqiang - 1:1.36.1-4 +- Support package build with clang + * Thu Aug 31 2023 huangsong - 1:1.36.1-3 - Type:CVE - Id:NA