aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-inst.xml')
-rw-r--r--chapter05/gcc-inst.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml
index 13f283098..c0a9c97ef 100644
--- a/chapter05/gcc-inst.xml
+++ b/chapter05/gcc-inst.xml
@@ -14,6 +14,7 @@ been warned.</para>
cd ../gcc-build &amp;&amp;
../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \
&nbsp;&nbsp;&nbsp;--disable-nls --disable-shared --enable-threads=posix &amp;&amp;
+echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h &amp;&amp;
make BOOT_LDFLAGS=-static bootstrap &amp;&amp;
make prefix=$LFS/static install &amp;&amp;
ln -s gcc $LFS/static/bin/cc</userinput></screen></para>