From: Michael Tremer Date: Mon, 1 Dec 2008 06:46:02 +0000 (+0000) Subject: Don't compile glibc with hardening in toolchain stage. X-Git-Tag: v3.0-alpha1~419^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=501e1e4c247b6da68e06fefbfb86d3c21019f679;p=ipfire-3.x.git Don't compile glibc with hardening in toolchain stage. --- diff --git a/lfs/glibc b/lfs/glibc index d5b5dfe04..432bc348c 100644 --- 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)