From: Michael Tremer Date: Wed, 26 Apr 2017 10:48:48 +0000 (+0100) Subject: glibc: Do not enable stack-smashing protector in toolchain stage X-Git-Tag: v2.19-core112~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dfa795eb1a052ac58f7f3d9ebf1676f0a2c3c534;p=people%2Fstevee%2Fipfire-2.x.git glibc: Do not enable stack-smashing protector in toolchain stage This is causing build errors on some systems where the host system does or does not use SSP. Signed-off-by: Michael Tremer --- diff --git a/lfs/glibc b/lfs/glibc index b1b482a343..5f15ecf8ce 100644 --- a/lfs/glibc +++ b/lfs/glibc @@ -38,7 +38,8 @@ ifeq "$(ROOT)" "" EXTRA_CONFIG = \ --build=$(BUILDTARGET) \ --prefix=/usr \ - --libexecdir=/usr/lib/glibc + --libexecdir=/usr/lib/glibc \ + --enable-stack-protector=strong else TARGET = $(DIR_INFO)/$(THISAPP)-tools EXTRA_CONFIG = \ @@ -75,8 +76,7 @@ EXTRA_CONFIG += \ --enable-add-ons \ --without-selinux \ --enable-experimental-malloc \ - --enable-bind-now \ - --enable-stack-protector=strong + --enable-bind-now ############################################################################### # Top-level Rules