mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
7 lines
235 B
Bash
7 lines
235 B
Bash
_GCCSPECSDIR=${XBPS_COMMONDIR}/environment/configure/gccspecs
|
|
|
|
if [ -n "$build_pie" ]; then
|
|
CFLAGS+=" -specs=$_GCCSPECSDIR/hardened-cc1"
|
|
CXXFLAGS+=" -specs=$_GCCSPECSDIR/hardened-cc1"
|
|
LDFLAGS+=" -specs=$_GCCSPECSDIR/hardened-ld"
|
|
fi
|