]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Don't compile glibc with hardening in toolchain stage.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 1 Dec 2008 06:46:02 +0000 (06:46 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 1 Dec 2008 06:46:02 +0000 (06:46 +0000)
lfs/glibc

index d5b5dfe04f1564f937d4e51070f44b73955ab667..432bc348c5a03c21d8d7ba07110a9ba5de5f4d4e 100644 (file)
--- a/lfs/glibc
+++ b/lfs/glibc
@@ -218,12 +218,10 @@ endif
        # the libraries, not the programs:
        echo "build-programs=no" \
                >> $(DIR_SRC)/glibc-build/configparms
-ifeq "$(STAGE)" "base"
        echo "CC = gcc -fPIC -fno-stack-protector -U_FORTIFY_SOURCE -nonow -nopie" \
                >> $(DIR_SRC)/glibc-build/configparms
        echo "CXX = g++ -fPIC -fno-stack-protector -U_FORTIFY_SOURCE -nonow -nopie" \
                >> $(DIR_SRC)/glibc-build/configparms
-endif
        echo "LDFLAGS.so += -Wl,--warn-shared-textrel,--fatal-warnings" \
                >> $(DIR_SRC)/glibc-build/configparms
        cd $(DIR_SRC)/glibc-build && make PARALLELMFLAGS=$(PARALLELISMFLAGS)