modify sec option
This commit is contained in:
parent
8055f0541e
commit
5c8a9a1116
3
config_for_secure_g++
Normal file
3
config_for_secure_g++
Normal file
@ -0,0 +1,3 @@
|
||||
rpm_name:wxGTK3
|
||||
sec_opt:-fPIC -D_FORTIFY_SOURCE=2 -O2 -Wtrampolines
|
||||
fs_opt:
|
||||
@ -111,7 +111,7 @@ sed -i -e 's|$CPPUNIT_CONFIG --version|$CPPUNIT_CONFIG --modversion|' configure
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
export LDFLAGS="-Wl,--as-needed"
|
||||
export LDFLAGS="-Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,--as-needed"
|
||||
export CPPUNIT_CONFIG="/usr/bin/pkg-config cppunit"
|
||||
|
||||
%global _configure ../configure
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user