From: Navarrop Date: Thu, 23 Jun 2011 09:17:35 +0000 (+0200) Subject: Be sure we don't have optimizations. X-Git-Tag: v3_6_1~22 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/74870aae06f0428a2e149f2e2e511982d8e588e6?ds=sidebyside Be sure we don't have optimizations. --- diff --git a/buildtools/Cmake/Flags.cmake b/buildtools/Cmake/Flags.cmake index 8bd0b594f1..93982f45e4 100644 --- a/buildtools/Cmake/Flags.cmake +++ b/buildtools/Cmake/Flags.cmake @@ -14,6 +14,8 @@ endif(enable_compile_warnings) if(enable_compile_optimizations) set(optCFLAGS "-O3 -finline-functions -funroll-loops -fno-strict-aliasing ") +else(enable_compile_optimizations) + set(optCFLAGS "-O0 ") endif(enable_compile_optimizations) if(NOT enable_debug)