From 97e3be8840b877ed67d53e3a9bc54ad60cc4ea62 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Mon, 30 Nov 2009 18:06:12 +0000 Subject: [PATCH] opensolaris linker produces an error because of -f*** gcc options So force the link to be done when checking the availability of -fno-rtti and -fno-exceptions SVN revision: 44056 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6f1bade..933a72b 100644 --- a/configure.ac +++ b/configure.ac @@ -208,7 +208,7 @@ EXPEDITE_CXXFLAGS="" AC_LANG_PUSH([C++]) CXXFLAGS_save="${CXXFLAGS}" CXXFLAGS="${CXXFLAGS} -fno-rtti -fno-exceptions" -AC_COMPILE_IFELSE( +AC_LINK_IFELSE( [AC_LANG_PROGRAM([[]])], [have_cxx_flags="yes"], [have_cxx_flags="no"])