This website requires JavaScript.
Explore
Help
Sign In
jcgruenhage
/
void-packages
Watch
1
Star
0
Fork
You've already forked void-packages
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
34f753d77f
void-packages
/
common
/
environment
/
configure
/
gccspecs
/
hardened-cc1
6 lines
141 B
Text
Raw
Normal View
History
Unescape
Escape
gccspecs/hardened-cc1: also pass -fPIE to cpp by default. Note that -fPIE defines __PIC__ and __PIE__, so passing this on to pure cpp(1)/gcc -E executions is relevant. Found the hard way due to ccache breaking on i686 with precompiled headers which used the non-PIC definitions in cpuid.h since header precompilation doesn't read cc1_options.
2015-11-19 15:25:44 +00:00
*cpp_options:
+ %{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}
xbps-src: pass PIE flags via -specs mechanism, avoids breaking static build.
2015-03-07 19:52:28 +00:00
*cc1_options:
+ %{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}
Reference in a new issue
Copy permalink