gcc: unbreak: disable FORTIFY_SOURCE for now (close #1113).
FORTIFY_SOURCE could be reenabled for 4.9.3.
This commit is contained in:
parent
132dc1166f
commit
1f7fa4a322
@ -105,6 +105,9 @@ do_configure() {
|
|||||||
*-musl) _args+=" --disable-libsanitizer";;
|
*-musl) _args+=" --disable-libsanitizer";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
|
||||||
|
export CXXFLAGS="${CXXFLAGS/-D_FORTIFY_SOURCE=2/}"
|
||||||
|
|
||||||
CONFIG_SHELL=/bin/bash \
|
CONFIG_SHELL=/bin/bash \
|
||||||
./configure --prefix=/usr --mandir=/usr/share/man \
|
./configure --prefix=/usr --mandir=/usr/share/man \
|
||||||
--infodir=/usr/share/info --libexecdir=/usr/lib \
|
--infodir=/usr/share/info --libexecdir=/usr/lib \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user