aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2017-05-13 22:56:01 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2017-05-13 22:56:01 +0000
commit0967c907bcf790345d9cbb9477719117e9b78d4f (patch)
tree48d8438c9ee23f51632d35cb97f57d0fc0c4e7d3 /chapter06/gcc.xml
parent4dab0711e26adbf477cbd37bad8412f2616acd58 (diff)
Introduce -isystem to use the final system location of gcc's internel headers in the GlibC build.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11250 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 47f96f720..b8fa2a327 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -51,6 +51,11 @@
;;
esac</userinput></screen>
+ <para>Remove the symlink created earlier as the final gcc includes will be
+ installed here:</para>
+
+<screen><userinput remap="pre">rm -f /usr/lib/gcc</userinput></screen>
+
<para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
<screen><userinput remap="pre">mkdir -v build