aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass2-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-10 23:48:26 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-10 23:48:26 +0000
commit84a7dc232d8d21a757b84cbea5f41292a90344f8 (patch)
tree4f33d88c7b27ae49129e33918de3a4e99e02c001 /chapter05/gcc-pass2-inst.xml
parenta5b2aa952edbfaf52eada536e7a8fe7d8de30bba (diff)
removed all non-essential CFLAGS and LDFLAGS
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2552 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass2-inst.xml')
-rw-r--r--chapter05/gcc-pass2-inst.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/chapter05/gcc-pass2-inst.xml b/chapter05/gcc-pass2-inst.xml
index 2b06c1ccd..c2d1ab9ae 100644
--- a/chapter05/gcc-pass2-inst.xml
+++ b/chapter05/gcc-pass2-inst.xml
@@ -10,13 +10,12 @@ patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes.patch</userinput></screen></pa
<para><screen><userinput>mkdir ../gcc-build
cd ../gcc-build</userinput></screen></para>
-<para><screen><userinput>CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -pipe" \
-&nbsp;&nbsp;&nbsp;&nbsp;../gcc-&gcc-version;/configure --prefix=/stage1 \
+<para><screen><userinput>../gcc-&gcc-version;/configure --prefix=/stage1 \
&nbsp;&nbsp;&nbsp;&nbsp;--with-local-prefix=/stage1 \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-clocale=gnu --enable-shared \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-threads=posix --enable-__cxa_atexit \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++
-make LDFLAGS="-s"
+make
make -k check
make install</userinput></screen></para>