Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Supernovae should not set specific settings, which are controled by their own flags
[simgrid.git] / buildtools / Cmake / Flags.cmake
index 501fe05..fc99b1e 100644 (file)
@@ -10,11 +10,6 @@ endif(NOT __VISUALC__ AND NOT __BORLANDC__)
 
 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${custom_flags}")
 
-if(enable_supernovae)
-       set(warnCFLAGS "-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wno-unused-function -Wno-unused-parameter -Wno-strict-aliasing -Wno-format-nonliteral -Werror ")
-       set(optCFLAGS "-O3 -finline-functions -funroll-loops -fno-strict-aliasing ")
-endif(enable_supernovae)
-
 if(enable_compile_warnings)
        set(warnCFLAGS "-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wno-unused-function -Wno-unused-parameter -Wno-strict-aliasing -Wno-format-nonliteral -Werror ")
 endif(enable_compile_warnings)