cmake_modules/CMakePascalInformation.cmake
branchwebgl
changeset 9950 2759212a27de
parent 9521 8054d9d775fd
parent 9946 874d33db5fd9
child 13940 085ed3ff0637
--- a/cmake_modules/CMakePascalInformation.cmake	Fri Oct 11 17:43:13 2013 +0200
+++ b/cmake_modules/CMakePascalInformation.cmake	Sat Jan 04 23:55:54 2014 +0400
@@ -9,9 +9,9 @@
 include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME} OPTIONAL)
 
 # This section should actually be in Platform/${CMAKE_SYSTME_NAME}-fpc.cmake
-set(CMAKE_Pascal_FLAGS_DEBUG_INIT "-g -gl -gp -gh")
+set(CMAKE_Pascal_FLAGS_DEBUG_INIT "-O- -g -gl -gp -gh")
 set(CMAKE_Pascal_FLAGS_MINSIZEREL_INIT "-Os -dNDEBUG")
-set(CMAKE_Pascal_FLAGS_RELEASE_INIT "-O3 -dNDEBUG")
+set(CMAKE_Pascal_FLAGS_RELEASE_INIT "-O2 -dNDEBUG")
 set(CMAKE_Pascal_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -gl -gp")
 
 # This should be included before the _INIT variables are