aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@redhat.com>2002-05-03 16:39:22 +0000
committerThomas Fitzsimmons <fitzsim@redhat.com>2002-05-03 16:39:22 +0000
commite911832c96ed72284bc9b6710c6cc1f169460a00 (patch)
treee761904b4a39ac65f849af4429cd44edfac69364
parent2cd51a88a5b142de64c0177e8d02ac46ae551b84 (diff)
downloadnewlib-e911832c96ed72284bc9b6710c6cc1f169460a00.zip
newlib-e911832c96ed72284bc9b6710c6cc1f169460a00.tar.gz
newlib-e911832c96ed72284bc9b6710c6cc1f169460a00.tar.bz2
* configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
-rw-r--r--newlib/ChangeLog4
-rwxr-xr-xnewlib/configure2
-rw-r--r--newlib/configure.in2
3 files changed, 6 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 6633c25..4ed7ac6 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
+
2002-05-01 Christopher Faylor <cgf@redhat.com>
* utmp.h: Define more UNIX constants.
diff --git a/newlib/configure b/newlib/configure
index 1cbcb39..408502c 100755
--- a/newlib/configure
+++ b/newlib/configure
@@ -2389,7 +2389,7 @@ fi
# These get added in the top-level configure.in, except in the case where
# newlib is being built natively.
if test -z `echo ${CC} | grep \/libc\/include`; then
- CC_FOR_NEWLIB="${CC} -isystem $PWD/targ-include -isystem ${newlib_basedir}/libc/include"
+ CC_FOR_NEWLIB="${CC} -I$PWD/targ-include -I${newlib_basedir}/libc/include"
else
CC_FOR_NEWLIB="${CC}"
fi
diff --git a/newlib/configure.in b/newlib/configure.in
index a1653ec..2894d71 100644
--- a/newlib/configure.in
+++ b/newlib/configure.in
@@ -40,7 +40,7 @@ AM_CONDITIONAL(HAVE_DOC, test x$have_doc = xyes)
# These get added in the top-level configure.in, except in the case where
# newlib is being built natively.
if test -z `echo ${CC} | grep \/libc\/include`; then
- CC_FOR_NEWLIB="${CC} -isystem $PWD/targ-include -isystem ${newlib_basedir}/libc/include"
+ CC_FOR_NEWLIB="${CC} -I$PWD/targ-include -I${newlib_basedir}/libc/include"
else
CC_FOR_NEWLIB="${CC}"
fi