1
0
Fork 0

Revert "Fix bug in debug build"

This reverts commit 839c4a99cd.
mutilcraft-mt53
kwolekr 2015-01-18 13:19:28 -05:00
parent 839c4a99cd
commit 6e9f287844
1 changed files with 1 additions and 1 deletions

View File

@ -658,7 +658,7 @@ else()
else()
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -fomit-frame-pointer")
endif(APPLE)
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall ${WARNING_FLAGS} ${OTHER_FLAGS}")
set(CMAKE_CXX_FLAGS_DEBUG "-g -O1 -Wall ${WARNING_FLAGS} ${OTHER_FLAGS}")
if(USE_GPROF)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -pg")