From 27ced84613aec2e2718da571c4ce6f5d5aca3966 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Tue, 4 Oct 2005 19:56:35 +0000 Subject: 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 --- chapter06/gcc.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chapter06') 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 sed -i 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in +The fixincludes 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 +fixincludes script from running: + +sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in + The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory: -- cgit v1.2.3-54-g00ecf