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
expedite-1.1
Vincent Torri 14 years ago
parent 251a120ed3
commit 97e3be8840
  1. 2
      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"])

Loading…
Cancel
Save