diff --git a/ChangeLog b/ChangeLog index 7719a488..289d195e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2013-01-08 Anthony Green + * configure.ac: Generate local.exp. This sets CC_FOR_TARGET + when we are using the vendor compiler. + * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): Point to + ../local.exp. + * configure, testsuite/Makefile.in: Rebuilt. + * testsuite/libffi.call/call.exp: Run tests with different options, depending on whether or not we are using gcc or the vendor compiler. diff --git a/configure b/configure index a79b540e..5876eb7a 100755 --- a/configure +++ b/configure @@ -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 < local.exp <