A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Force -O0 when the --disable-compiler-optimization flag is passed to configure; not...
[simgrid.git]
/
acmacro
/
compiler-flags.m4
diff --git
a/acmacro/compiler-flags.m4
b/acmacro/compiler-flags.m4
index
c9d6169
..
f66f1b4
100644
(file)
--- a/
acmacro/compiler-flags.m4
+++ b/
acmacro/compiler-flags.m4
@@
-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