[cig-commits] r21542 - seismo/3D/SPECFEM3D_GLOBE/trunk

dkomati1 at geodynamics.org dkomati1 at geodynamics.org
Thu Mar 14 18:18:32 PDT 2013


Author: dkomati1
Date: 2013-03-14 18:18:32 -0700 (Thu, 14 Mar 2013)
New Revision: 21542

Modified:
   seismo/3D/SPECFEM3D_GLOBE/trunk/configure
Log:
switched from -O2 to -O1 for the C compiler to avoid potential problems with Intel icc (our C routines are so small that we do not need optimization anyway)


Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/configure
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/configure	2013-03-15 01:17:42 UTC (rev 21541)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/configure	2013-03-15 01:18:32 UTC (rev 21542)
@@ -3337,13 +3337,13 @@
   CFLAGS=$ac_save_CFLAGS
 elif test $ac_cv_prog_cc_g = yes; then
   if test "$GCC" = yes; then
-    CFLAGS="-g -O2"
+    CFLAGS="-g -O1"
   else
     CFLAGS="-g"
   fi
 else
   if test "$GCC" = yes; then
-    CFLAGS="-O2"
+    CFLAGS="-O1"
   else
     CFLAGS=
   fi
@@ -4358,13 +4358,13 @@
   CFLAGS=$ac_save_CFLAGS
 elif test $ac_cv_prog_cc_g = yes; then
   if test "$GCC" = yes; then
-    CFLAGS="-g -O2"
+    CFLAGS="-g -O1"
   else
     CFLAGS="-g"
   fi
 else
   if test "$GCC" = yes; then
-    CFLAGS="-O2"
+    CFLAGS="-O1"
   else
     CFLAGS=
   fi



More information about the CIG-COMMITS mailing list