From dfa795eb1a052ac58f7f3d9ebf1676f0a2c3c534 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 26 Apr 2017 11:48:48 +0100 Subject: [PATCH] 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 --- lfs/glibc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2