Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
An example with SMPI and CPP platform
[simgrid.git] / tools / cmake / Flags.cmake
index 72dcbf17216436129e8e4b94b6a3912b2add162a..0a195ecce8272c42f7ae513336a049225d6cbd65 100644 (file)
@@ -174,13 +174,13 @@ endif()
 
 if(enable_model-checking AND enable_compile_optimizations)
   # Forget it, do not optimize the code (because it confuses the MC):
-  set(optCFLAGS "-O0 -gdwarf-4")
+  set(optCFLAGS "-O0")
   # But you can still optimize this:
   foreach(s
       src/simix/popping.cpp src/simix/popping_generated.cpp src/simix/smx_global.cpp
       ${SURF_SRC} ${TRACING_SRC} ${XBT_SRC}
       ${MC_SRC_BASE} ${MC_SRC})
-      set (mcCFLAGS "-O3 -gdwarf-4 -funroll-loops -fno-strict-aliasing")
+      set (mcCFLAGS "-O3 -funroll-loops -fno-strict-aliasing")
       if(CMAKE_COMPILER_IS_GNUCC)
         set (mcCFLAGS "${mcCFLAGS} -finline-functions")
       endif()