Sync 22.09 release to fix safe compile options
(cherry picked from commit 341b9d3230c5752390ed8393a9f9c4531acd3e30)
This commit is contained in:
parent
d0b8efd8de
commit
5aa0e56641
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
Name: valgrind
|
Name: valgrind
|
||||||
Version: 3.16.0
|
Version: 3.16.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: An instrumentation framework for building dynamic analysis tools
|
Summary: An instrumentation framework for building dynamic analysis tools
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -56,7 +56,9 @@ CC="gcc -B `pwd`/shared/libgcc/"
|
|||||||
|
|
||||||
%undefine _hardened_build
|
%undefine _hardened_build
|
||||||
%undefine _strict_symbol_defs_build
|
%undefine _strict_symbol_defs_build
|
||||||
OPTFLAGS="`echo " %{optflags} " | sed 's/ -m\(64\|3[21]\) / /g;s/ -fexceptions / /g;s/ -fstack-protector\([-a-z]*\) / / g;s/ -Wp,-D_FORTIFY_SOURCE=2 / /g;s/ -O2 / /g;s/ -mcpu=\([a-z0-9]\+\) / /g;s/^ //;s/ $//'`"
|
optflags="`echo " %{optflags} -Wl,-z,now -fPIE -fPIC"`"
|
||||||
|
OPTFLAGS="`echo " $optflags " | sed 's/ -m\(64\|3[21]\) / /g;s/ -fexceptions / /g;s/ -fstack-protector\([-a-z]*\) / / g;s/ -Wp,-D_FORTIFY_SOURCE=2 / /g;s/ -O2 / /g;s/ -mcpu=\([a-z0-9]\+\) / /g;s/^ //;s/ $//'`"
|
||||||
|
|
||||||
%configure CC="$CC" CFLAGS="$OPTFLAGS" CXXFLAGS="$OPTFLAGS" --with-mpicc=/bin/false GDB=%{_bindir}/gdb
|
%configure CC="$CC" CFLAGS="$OPTFLAGS" CXXFLAGS="$OPTFLAGS" --with-mpicc=/bin/false GDB=%{_bindir}/gdb
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
@ -100,6 +102,9 @@ popd
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 25 2022 liyanan <liyanan32@h-partners.com> - 1:3.16.0-4
|
||||||
|
- Add BIND_NOW and PIE safe complie option
|
||||||
|
|
||||||
* Wed Mar 02 2022 qinyu <qiny16@huawei.com> - 3.16.0-3
|
* Wed Mar 02 2022 qinyu <qiny16@huawei.com> - 3.16.0-3
|
||||||
- Implement linux rseq syscall as ENOSYS
|
- Implement linux rseq syscall as ENOSYS
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user