use the same optimization with Rel and RelWithDebInfo
authorTaylor Richards <taylor@icculus.org>
Fri, 16 Feb 2018 00:37:10 +0000 (19:37 -0500)
committerTaylor Richards <taylor@icculus.org>
Sat, 17 Mar 2018 15:31:15 +0000 (11:31 -0400)
CMakeLists.txt

index 64414e6..a1c347f 100644 (file)
@@ -73,7 +73,7 @@ if(NOT WIN32)
 # add_definitions(-Wno-deprecated)
   add_definitions(-fsigned-char)
 
-  set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -DNDEBUG -DRELEASE_REAL -g -O2")
+  set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -DNDEBUG -DRELEASE_REAL -g -O3")
   set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNDEBUG -DRELEASE_REAL -O3")
   set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3")
 else()