- With gcc-PIE add -pie even when -fPIC is specified but we are
not linking a shared library. [boo#1185348] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=109
This commit is contained in:
parent
18b4328a87
commit
00bb6960cf
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 9 07:41:14 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- With gcc-PIE add -pie even when -fPIC is specified but we are
|
||||
not linking a shared library. [boo#1185348]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 5 12:48:07 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
|
2
gcc.spec
2
gcc.spec
@ -486,7 +486,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|no-pie|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}%%{fno-pic|fno-PIC|fno-pie|fno-PIE|pie|no-pie|shared|static|nostdlib|nodefaultlibs|nostartfiles:;: -pie}
|
||||
EOF
|
||||
|
||||
%post -n gcc-go
|
||||
|
Loading…
Reference in New Issue
Block a user