diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2005-10-04 19:56:35 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2005-10-04 19:56:35 +0000 |
commit | 27ced84613aec2e2718da571c4ce6f5d5aca3966 (patch) | |
tree | 6521a98173da54f28a1e84669e3b35342b76161a /chapter06 | |
parent | cad7b50152d6cb2838d04eee30bf9bc635923873 (diff) |
Prevent GCC's fixincludes from running during chapter 5 pass2 and chapter 6
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6959 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/gcc.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 2e28c9ff1..469162b21 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -53,6 +53,14 @@ Non-bootstrap builds omit this flag by default, so apply the following <screen><userinput>sed -i 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in</userinput></screen> +<para>The <command>fixincludes</command> script is known to occasionally +erroneously attempt to "fix" the system headers installed so far. As +the headers installed by GCC-&gcc-version; and Glibc-&glibc-version; are known +to not require fixing, issue the following command to prevent the +<command>fixincludes</command> script from running:</para> + +<screen><userinput>sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in</userinput></screen> + <para>The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory:</para> |