- Fix gcc-PIE spec to properly honor -no-pie at link time.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=85
This commit is contained in:
parent
a30b055807
commit
2e7ee50ecb
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 5 10:19:50 UTC 2018 - rguenther@suse.com
|
||||
|
||||
- Fix gcc-PIE spec to properly honor -no-pie at link time.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 10:13:50 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
2
gcc.spec
2
gcc.spec
@ -423,7 +423,7 @@ dir=${dir%/cc1}
|
||||
mkdir -p $RPM_BUILD_ROOT/$dir
|
||||
cat > $RPM_BUILD_ROOT/$dir/defaults.spec <<EOF
|
||||
*default_spec:
|
||||
%%{pie|fpic|fPIC|fpie|fPIE|fno-pic|fno-PIC|fno-pie|fno-PIE|shared|static|nostdlib|nodefaultlibs|nostartfiles:;:-fPIE -pie}
|
||||
%%{pie|fpic|fPIC|fpie|fPIE|no-pie|fno-pic|fno-PIC|fno-pie|fno-PIE|shared|static|nostdlib|nodefaultlibs|nostartfiles:;:-fPIE -pie}
|
||||
EOF
|
||||
|
||||
%files
|
||||
|
Loading…
Reference in New Issue
Block a user