configure.in (FLAGS_FOR_TARGET): invert test for xgcc...
authorDJ Delorie <dj@redhat.com>
Mon, 7 Aug 2000 15:00:46 +0000 (11:00 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Mon, 7 Aug 2000 15:00:46 +0000 (11:00 -0400)
* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
"if we're also building gcc, and it's a gcc that will run on the
build machine, we want to use its includes instead of the system's
default includes".

From-SVN: r35553

ChangeLog
configure.in

index 913d90d..5d1c854 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-08-07  DJ Delorie  <dj@redhat.com>
+
+       * configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
+       "if we're also building gcc, and it's a gcc that will run on the
+       build machine, we want to use its includes instead of the system's
+       default includes".
+
 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * MAINTAINERS: Add self to Write After Approval list.
index 7261234..69a5f08 100644 (file)
@@ -1252,7 +1252,7 @@ case " $skipdirs " in
    # If we're using a pre-built compiler (which is the case for
    # Canadian crosses or when gcc isn't being built), don't discard
    # standard headers.
-   if test "${build}" = "${host}" && test -d ${topsrcdir}/gcc; then
+   if test "${build}" = "${host}" && test -d ${topsrcdir}/gcc; then
      FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
    fi