aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1-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-pass1-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-pass1-inst.xml')
-rw-r--r--chapter05/gcc-pass1-inst.xml7
1 files changed, 2 insertions, 5 deletions
diff --git a/chapter05/gcc-pass1-inst.xml b/chapter05/gcc-pass1-inst.xml
index 2cf5349ad..b290d05f2 100644
--- a/chapter05/gcc-pass1-inst.xml
+++ b/chapter05/gcc-pass1-inst.xml
@@ -23,8 +23,7 @@ cd ../gcc-build</userinput></screen></para>
<para>Prepare GCC to be compiled:</para>
-<para><screen><userinput>CFLAGS="-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;--disable-nls --enable-shared \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c</userinput></screen></para>
@@ -54,9 +53,7 @@ correctly.</para></listitem>
<para>Continue with compiling the package:</para>
-<para><screen><userinput>make BOOT_LDFLAGS="-static -s" \
-&nbsp;&nbsp;&nbsp;&nbsp;BOOT_CFLAGS="-O2 -pipe" \
-&nbsp;&nbsp;&nbsp;&nbsp;STAGE1_CFLAGS="-pipe" bootstrap</userinput></screen></para>
+<para><screen><userinput>make BOOT_LDFLAGS="-static" bootstrap</userinput></screen></para>
<para>The meaning of the make options are:</para>