From f065b08913c6c5161b51175ac14a0e45dd388c8b Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 25 Aug 2001 00:13:05 +0000 Subject: changed -e LDFLAGS=-static to BOOT_LDFLAGS=-static and removed -e git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1022 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/gcc-exp.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chapter05/gcc-exp.xml') diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml index b38c62086..1aeecadff 100644 --- a/chapter05/gcc-exp.xml +++ b/chapter05/gcc-exp.xml @@ -1,11 +1,15 @@ Command explanations -patch -Np1 -i ../gcc-&gcc-patch-version;.patch : +patch -Np1 -i ../gcc-&gcc-patch-version;.patch: This new patch deals with incorrect handling of weak symbols, the over-optimization of calls to those weak symbols, an atexit issue and the __dso_handle symbol required for atexit's proper function. +make BOOT_LDFLAGS=-static: +This is the equivalent to make LDFLAGS=-static as we use with other +packages to compile them statically. + --prefix=/usr: This is NOT a typo. GCC hard codes some paths while compiling and so we need to pass /usr as the prefix during ./configure. We pass the real install prefix during the -- cgit v1.2.3-54-g00ecf