* 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".
This commit is contained 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
|
||||
|
||||
|
Reference in New Issue
Block a user