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
This commit is contained in:
Vincent Torri 2009-11-30 18:06:12 +00:00
parent 251a120ed3
commit 97e3be8840
1 changed files with 1 additions and 1 deletions

View File

@ -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"])