Make sure we're running dejagnu tests with the right compiler.

This commit is contained in:
Anthony Green
2013-01-08 15:14:21 -05:00
parent f26c7ca671
commit 8308984e47
5 changed files with 19 additions and 0 deletions

5
configure vendored
View File

@@ -13068,6 +13068,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -fexceptions"
touch testsuite/local.exp
else
cat > local.exp <<EOF
set CC_FOR_TARGET $CC
EOF
fi