From 8308984e479e3274a36e98e8272b5adbb6b774c2 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Tue, 8 Jan 2013 15:14:21 -0500 Subject: [PATCH] Make sure we're running dejagnu tests with the right compiler. --- ChangeLog | 6 ++++++ configure | 5 +++++ configure.ac | 5 +++++ testsuite/Makefile.am | 2 ++ testsuite/Makefile.in | 1 + 5 files changed, 19 insertions(+) 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 <