X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45b9f54d155a0bd8a3399637edf185c236b35618..543fcfdbc4aa5fdf9e85605758784253536fc624:/acmacro/compiler-flags.m4 diff --git a/acmacro/compiler-flags.m4 b/acmacro/compiler-flags.m4 index 1f27293e51..6ac6712d2e 100644 --- a/acmacro/compiler-flags.m4 +++ b/acmacro/compiler-flags.m4 @@ -20,7 +20,7 @@ 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 \ + -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)