xbps-src: make 'build_pie' the default; use 'nopie' to disable it.
Discussed with @chneukirchen.
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user