Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes)
Date: 2007-02-14
Initial Package Version: 4.1.2
Upstream Status: Not Sent - LFS Specific
Origin: Idea originally developed by Ryan Oliver and Greg Schafer for
        the Pure LFS project.
        More architectures added by Zack Winkles.
        Further fine tunings by Greg Schafer.
        Rediffed against gcc 4.0.0 by Robert Connolly.
        Rediffed against gcc 4.1.0 by Chris Staub
        Rediffed against gcc 4.1.2 by Jim Gifford
        Rediffed against gcc 4.2.0 by Joe Ciccone
Description: This patch modifies the location of the dynamic linker for
        the GCC Pass 2 build in LFS Chapter 5.

diff -Naur gcc-4.2.0.orig/gcc/config/linux.h gcc-4.2.0/gcc/config/linux.h
--- gcc-4.2.0.orig/gcc/config/linux.h	2007-05-16 19:21:19.000000000 -0400
+++ gcc-4.2.0/gcc/config/linux.h	2007-05-18 16:23:31.000000000 -0400
@@ -127,3 +127,7 @@
 #define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
 
 #define TARGET_POSIX_IO
+
+/* Remove /usr/include from the end of the include search path.  */
+#undef STANDARD_INCLUDE_DIR
+#define STANDARD_INCLUDE_DIR 0
