!109 [sync] PR-108: [平行宇宙] Support package build with clang
From: @openeuler-sync-bot Reviewed-by: @xuxuepeng, @liuxu180400617 Signed-off-by: @xuxuepeng
This commit is contained in:
commit
c1846db8b6
@ -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 <wangqiang1@kylinos.cn> - 1:1.36.1-4
|
||||
- Support package build with clang
|
||||
|
||||
* Thu Aug 31 2023 huangsong <huangsong14@huawei.com> - 1:1.36.1-3
|
||||
- Type:CVE
|
||||
- Id:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user