]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
glibc: Do not enable stack-smashing protector in toolchain stage
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Apr 2017 10:48:48 +0000 (11:48 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 18 May 2017 11:07:24 +0000 (12:07 +0100)
This is causing build errors on some systems where the host
system does or does not use SSP.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/glibc

index b1b482a343f8155c636a907bdf955f2348a3f9d0..5f15ecf8ceca2a33876bf5b36edb23dda387fc30 100644 (file)
--- 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