Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Force -O0 when the --disable-compiler-optimization flag is passed to configure; not...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 19 Aug 2009 13:58:31 +0000 (13:58 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 19 Aug 2009 13:58:31 +0000 (13:58 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6606 48e7efb5-ca39-0410-a469-dd3cf9ba447f

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