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