xbps-src: make 'build_pie' the default; use 'nopie' to disable it.
Discussed with @chneukirchen.
This commit is contained in:
parent
9575860319
commit
3fdad91bf9
265 changed files with 2 additions and 266 deletions
|
@ -1,6 +1,6 @@
|
|||
_GCCSPECSDIR=${XBPS_COMMONDIR}/environment/configure/gccspecs
|
||||
|
||||
if [ -n "$build_pie" ]; then
|
||||
if [ -z "$nopie" ]; then
|
||||
CFLAGS+=" -specs=$_GCCSPECSDIR/hardened-cc1"
|
||||
CXXFLAGS+=" -specs=$_GCCSPECSDIR/hardened-cc1"
|
||||
# We pass -z relro -z now here too, because libtool drops -specs...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue