Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Force -O0 when the --disable-compiler-optimization flag is passed to configure; not...
[simgrid.git] / acmacro / compiler-flags.m4
index c9d6169..f66f1b4 100644 (file)
@@ -91,6 +91,8 @@ AC_DEFUN([SG_COMPILE_FLAGS],[
     if test "x$cflags_set" != "xyes" ; then  
       CFLAGS="$optCFLAGS $CFLAGS"
     fi
+  else
+    CFLAGS="$CFLAGS -O0"
   fi
 
   if test x$lt_cv_prog_gnu_ld = xyes ; then