gcc: unbreak: disable FORTIFY_SOURCE for now (close #1113).

FORTIFY_SOURCE could be reenabled for 4.9.3.
This commit is contained in:
Juan RP 2015-03-22 11:08:34 +01:00
parent 132dc1166f
commit 1f7fa4a322
1 changed files with 3 additions and 0 deletions

View File

@ -105,6 +105,9 @@ do_configure() {
*-musl) _args+=" --disable-libsanitizer";;
esac
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
export CXXFLAGS="${CXXFLAGS/-D_FORTIFY_SOURCE=2/}"
CONFIG_SHELL=/bin/bash \
./configure --prefix=/usr --mandir=/usr/share/man \
--infodir=/usr/share/info --libexecdir=/usr/lib \