diff --git a/cmake/modules/DuneStuffMacros.cmake b/cmake/modules/DuneStuffMacros.cmake index 08311f45f69ecf3f6117e91e445a8ff6b3c60679..fba48acb50dfe4c8aeb70387dbb62b2fa53cdb22 100644 --- a/cmake/modules/DuneStuffMacros.cmake +++ b/cmake/modules/DuneStuffMacros.cmake @@ -70,7 +70,7 @@ SET( CMAKE_CXX_FLAGS_RELEASE SET( CMAKE_CXX_FLAGS "-DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS=1 ${CMAKE_CXX_FLAGS}" ) SET( CMAKE_CXX_FLAGS_DEBUG - "-DDNDEBUG -g3 -ggdb -Wunused-variable -Winline -fno-strict-aliasing -fPIC -Wall -Wextra -Wc++0x-compat -Wparentheses -pedantic -Wredundant-decls -Wshadow -Wundef -Wnon-virtual-dtor -ftemplate-backtrace-limit=0" ) + "-O0 -DDNDEBUG -g3 -ggdb -Wunused-variable -Winline -fno-strict-aliasing -fPIC -Wall -Wextra -Wc++0x-compat -Wparentheses -pedantic -Wredundant-decls -Wshadow -Wundef -Wnon-virtual-dtor -ftemplate-backtrace-limit=0" ) if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") set( CMAKE_CXX_FLAGS_DEBUG