glibc: disable _FORTIFY_SOURCE from CFLAGS.

This commit is contained in:
Juan RP 2015-03-12 11:28:02 +01:00
parent 4c49a35f43
commit 2140ff85e9

View file

@ -72,7 +72,7 @@ do_configure() {
# Disable SSP
export CFLAGS="${CFLAGS/-fstack-protector-strong/}"
# Disable FORTIFY_SOURCE
export CPPFLAGS="${CPPFLAGS/-D_FORTIFY_SOURCE=?/}"
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=?/}"
SHELL=/bin/bash ../configure ${configure_args} \
--bindir=/usr/bin --sbindir=/usr/sbin \