!71 [sync] PR-69: add fstack-protector-strong gcc flags
From: @openeuler-sync-bot Reviewed-by: @nlgwcy Signed-off-by: @nlgwcy
This commit is contained in:
commit
0980e1c73a
@ -1,6 +1,6 @@
|
||||
Name: dpdk
|
||||
Version: 19.11
|
||||
Release: 8
|
||||
Release: 9
|
||||
Packager: packaging@6wind.com
|
||||
URL: http://dpdk.org
|
||||
%global source_version 19.11
|
||||
@ -132,6 +132,7 @@ This package contains the pdump tool for capture the dpdk network packets.
|
||||
%build
|
||||
namer=%{kern_devel_ver}
|
||||
export RTE_KERNELDIR=/lib/modules/${namer}/build
|
||||
export EXTRA_CFLAGS="-fstack-protector-strong"
|
||||
make O=%{target} T=%{config} config
|
||||
#make .so libraries for spdk
|
||||
sed -ri 's,(CONFIG_RTE_BUILD_SHARED_LIB=).*,\1y,' %{target}/.config
|
||||
@ -230,6 +231,9 @@ strip -g $RPM_BUILD_ROOT/lib/modules/${namer}/extra/dpdk/rte_kni.ko
|
||||
/usr/sbin/depmod
|
||||
|
||||
%changelog
|
||||
* Mon May 24 2021 wutao <wutao61@huawei.com> - 19.11-9
|
||||
- add fstack-protector-strong gcc flags
|
||||
|
||||
* Mon Apr 5 2021 wu-changsheng<851744572@qq.com> - 19.11-8
|
||||
- add support for gazelle
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user