aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc-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 /chapter06/gcc-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 'chapter06/gcc-inst.xml')
-rw-r--r--chapter06/gcc-inst.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index 0aa8fd173..0d35d818c 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -26,8 +26,7 @@ cd ../gcc-build</userinput></screen></para>
<para>Prepare GCC to be compiled:</para>
-<para><screen><userinput>CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -pipe" \
-&nbsp;&nbsp;&nbsp;&nbsp;../gcc-&gcc-version;/configure --prefix=/usr \
+<para><screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --enable-threads=posix \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-__cxa_atexit --enable-clocale=gnu \
&nbsp;&nbsp;&nbsp;&nbsp;--mandir=/usr/share/man \
@@ -55,7 +54,7 @@ is implemented.</para></listitem>
<para>Continue with compiling the package:</para>
-<para><screen><userinput>make LDFLAGS="-s"</userinput></screen></para>
+<para><screen><userinput>make</userinput></screen></para>
<para><screen><userinput>make -k check</userinput></screen></para>