Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do generate the header we need with flexml
[simgrid.git] / acmacro / compiler-flags.m4
index 1f27293..6ac6712 100644 (file)
@@ -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 \
     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
  -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="-ffast-math -funroll-loops -fno-strict-aliasing"
       case " $CFLAGS " in
       *-O*) ;;
-      *) optCFLAGS="$optCFLAGS -03" ;;
+      *) optCFLAGS="$optCFLAGS -O3" ;;
       esac
   fi
   AC_MSG_RESULT($optCFLAGS)
       esac
   fi
   AC_MSG_RESULT($optCFLAGS)