aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-exp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-exp.xml')
-rw-r--r--chapter05/gcc-exp.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml
index b298990df..254e713ff 100644
--- a/chapter05/gcc-exp.xml
+++ b/chapter05/gcc-exp.xml
@@ -18,6 +18,10 @@ the --enable-languages parameter may be omitted.</para>
<para><userinput>--enable-threads=posix:</userinput> This enables C++
exception handling for multithreaded code.</para>
+<para><userinput>echo "#define HAVE_GAS_HIDDEN 1":</userinput>
+This defines the .hidden assembler directive so that we don't build
+a faulty Glibc later on.</para>
+
<para><userinput>ln -s gcc $LFS/static/bin/cc:</userinput> This
creates the $LFS/static/bin/gcc symlink which some packages need.</para>