X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d8cefbe067bef21ae9819aee7ec57e74c2f80340..543fcfdbc4aa5fdf9e85605758784253536fc624:/acmacro/compiler-flags.m4?ds=sidebyside diff --git a/acmacro/compiler-flags.m4 b/acmacro/compiler-flags.m4 index 2b6672c78e..6ac6712d2e 100644 --- a/acmacro/compiler-flags.m4 +++ b/acmacro/compiler-flags.m4 @@ -20,8 +20,8 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[ if test "x$enable_compile_warnings" = "xyes"; then warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations \ -finline-functions -Wshadow -Wpointer-arith -Wchar-subscripts -Wcomment \ - -Wformat=2 -Wno-unused-variable -Wno-unused-function -Wwrite-strings \ - -Werror" + -Wformat=2 -Wno-unused-variable -Wno-unused-function -Wno-unused-label -Wwrite-strings \ + -Werror -O0" fi fi @@ -53,7 +53,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[ optCFLAGS="-ffast-math -funroll-loops -fno-strict-aliasing" case " $CFLAGS " in *-O*) ;; - *) optCFLAGS="$optCFLAGS -03" ;; + *) optCFLAGS="$optCFLAGS -O3" ;; esac fi AC_MSG_RESULT($optCFLAGS)