* configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.

This commit is contained in:
Thomas Fitzsimmons 2002-05-03 16:39:22 +00:00
parent 2cd51a88a5
commit e911832c96
3 changed files with 6 additions and 2 deletions

View File

@ -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.

2
newlib/configure vendored
View File

@ -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

View File

@ -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