diff options
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> |