Commits

ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d  committed 875c123

Try again to fix build on Sun Studio -- Monty Taylor claims this will do it.

  • Participants
  • Parent commits bdcafe7

Comments (0)

Files changed (1)

File m4/acx_check_suncc.m4

   AS_IF([test "$SUNCC" = "yes" -a "x${ac_cv_env_CXXFLAGS_set}" = "x"],[
     dnl Sun Studio has a crashing bug with -xO4 in some cases. Keep this
     dnl at -xO3 until a proper test to detect those crashes can be done.
-    CXXFLAGS="-g0 -xO3 -xlibmil -xdepend -xbuiltin -mt -compat=5 -library=stlport4 -template=no%extdef ${CXXFLAGS}"
+    CXXFLAGS="-g0 -xO3 -xlibmil -xdepend -xbuiltin -mt -compat=5 -library=stlport4 -library=Crun -template=no%extdef ${CXXFLAGS}"
   ])
 
   case $host_os in