From 279ddab43fb1e29a4ffb63e9e7a34f89b2ac2a31 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 7 Aug 2000 15:02:09 +0000 Subject: [PATCH] * 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". --- ChangeLog | 7 +++++++ configure.in | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 81415dcfd70..29b31e3a617 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-08-07 DJ Delorie + + * 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-03 Alexandre Oliva * configure.in (libstdcxx_flags): Don't use `"'. diff --git a/configure.in b/configure.in index eed073df2b8..49f81741e37 100644 --- a/configure.in +++ b/configure.in @@ -1240,7 +1240,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 -- 2.30.2