diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2009-11-30 18:06:12 +0000 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2009-11-30 18:06:12 +0000 |
commit | 97e3be8840b877ed67d53e3a9bc54ad60cc4ea62 (patch) | |
tree | d14e658b5394416c05403b017a4a3e0d0a483109 | |
parent | 251a120ed31162fbf376183db8c3f590eed57f50 (diff) |
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
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 6f1bade..933a72b 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -208,7 +208,7 @@ EXPEDITE_CXXFLAGS="" | |||
208 | AC_LANG_PUSH([C++]) | 208 | AC_LANG_PUSH([C++]) |
209 | CXXFLAGS_save="${CXXFLAGS}" | 209 | CXXFLAGS_save="${CXXFLAGS}" |
210 | CXXFLAGS="${CXXFLAGS} -fno-rtti -fno-exceptions" | 210 | CXXFLAGS="${CXXFLAGS} -fno-rtti -fno-exceptions" |
211 | AC_COMPILE_IFELSE( | 211 | AC_LINK_IFELSE( |
212 | [AC_LANG_PROGRAM([[]])], | 212 | [AC_LANG_PROGRAM([[]])], |
213 | [have_cxx_flags="yes"], | 213 | [have_cxx_flags="yes"], |
214 | [have_cxx_flags="no"]) | 214 | [have_cxx_flags="no"]) |