Always set CC_FOR_TARGET for dejagnu, to make the testsuite respect $CC

This fixes cross-compilation and compilation with CC="gcc -m32".
This commit is contained in:
Josh Triplett
2014-03-26 23:31:02 -07:00
parent 9946a92af3
commit 0c3824702d
2 changed files with 8 additions and 9 deletions
+3 -4
View File
@@ -53,12 +53,11 @@ fi
if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -fexceptions"
touch local.exp
else
cat > local.exp <<EOF
fi
cat > local.exp <<EOF
set CC_FOR_TARGET "$CC"
EOF
fi
AM_MAINTAINER_MODE