diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 6633c2595..4ed7ac6c6 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2002-05-03 Thomas Fitzsimmons + + * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's. + 2002-05-01 Christopher Faylor * utmp.h: Define more UNIX constants. diff --git a/newlib/configure b/newlib/configure index 1cbcb39ed..408502c14 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 a1653ecba..2894d713a 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