add fstack-protector-strong gcc flags
(cherry picked from commit 154e549925543511c844f2fa480fecac06193a43)
This commit is contained in:
parent
fcbf48eab5
commit
3d904520b7
@ -1,6 +1,6 @@
|
|||||||
Name: dpdk
|
Name: dpdk
|
||||||
Version: 19.11
|
Version: 19.11
|
||||||
Release: 8
|
Release: 9
|
||||||
Packager: packaging@6wind.com
|
Packager: packaging@6wind.com
|
||||||
URL: http://dpdk.org
|
URL: http://dpdk.org
|
||||||
%global source_version 19.11
|
%global source_version 19.11
|
||||||
@ -132,6 +132,7 @@ This package contains the pdump tool for capture the dpdk network packets.
|
|||||||
%build
|
%build
|
||||||
namer=%{kern_devel_ver}
|
namer=%{kern_devel_ver}
|
||||||
export RTE_KERNELDIR=/lib/modules/${namer}/build
|
export RTE_KERNELDIR=/lib/modules/${namer}/build
|
||||||
|
export EXTRA_CFLAGS="-fstack-protector-strong"
|
||||||
make O=%{target} T=%{config} config
|
make O=%{target} T=%{config} config
|
||||||
#make .so libraries for spdk
|
#make .so libraries for spdk
|
||||||
sed -ri 's,(CONFIG_RTE_BUILD_SHARED_LIB=).*,\1y,' %{target}/.config
|
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
|
/usr/sbin/depmod
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Apr 5 2021 wu-changsheng<851744572@qq.com> - 19.11-8
|
||||||
- add support for gazelle
|
- add support for gazelle
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user