From: Scott Cantor Date: Fri, 11 May 2007 01:33:56 +0000 (+0000) Subject: Try to patch around Sun compiler bug. X-Git-Tag: 1.0-alpha1~42 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=commitdiff_plain;h=fd015847eb830d80b832312a8f4dc2172f26ee70 Try to patch around Sun compiler bug. --- diff --git a/configure.ac b/configure.ac index d89710b..ec35c17 100644 --- a/configure.ac +++ b/configure.ac @@ -43,6 +43,15 @@ if test "$GCC" = "yes" ; then # ]) CFLAGS="$GCC_CFLAGS" CXXFLAGS="$GCC_CXXFLAGS" +else +# Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993 + case "${host_cpu}-${host_os}" in + *solaris*) + if test "$CXX" = "CC" ; then + CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp" + fi + ;; + esac fi AC_DISABLE_STATIC