aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1-inst.xml
diff options
context:
space:
mode:
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>