summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2009-11-30 18:06:12 +0000
committerVincent Torri <vincent.torri@gmail.com>2009-11-30 18:06:12 +0000
commit97e3be8840b877ed67d53e3a9bc54ad60cc4ea62 (patch)
treed14e658b5394416c05403b017a4a3e0d0a483109 /configure.ac
parent251a120ed31162fbf376183db8c3f590eed57f50 (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
Diffstat (limited to '')
-rw-r--r--configure.ac2
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=""
208AC_LANG_PUSH([C++]) 208AC_LANG_PUSH([C++])
209CXXFLAGS_save="${CXXFLAGS}" 209CXXFLAGS_save="${CXXFLAGS}"
210CXXFLAGS="${CXXFLAGS} -fno-rtti -fno-exceptions" 210CXXFLAGS="${CXXFLAGS} -fno-rtti -fno-exceptions"
211AC_COMPILE_IFELSE( 211AC_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"])