diff options
author | DJ Delorie <dj@redhat.com> | 2000-08-07 11:00:46 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2000-08-07 11:00:46 -0400 |
commit | 15c758e9e4c485cfafc954611453a329b9ba69c8 (patch) | |
tree | d89c2e1b74aaf03c80b018b45665b8c66f0a4230 | |
parent | 8e04dd30d1e4318628cb109ac7a2c601c01c73d1 (diff) | |
download | gcc-15c758e9e4c485cfafc954611453a329b9ba69c8.zip gcc-15c758e9e4c485cfafc954611453a329b9ba69c8.tar.gz gcc-15c758e9e4c485cfafc954611453a329b9ba69c8.tar.bz2 |
configure.in (FLAGS_FOR_TARGET): invert test for xgcc...
* 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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -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. diff --git a/configure.in b/configure.in index 7261234..69a5f08 100644 --- a/configure.in +++ b/configure.in @@ -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 |