summaryrefslogtreecommitdiff
path: root/library/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-03-20 21:34:27 +0400
committerAlexander Gavrilov2012-03-20 21:34:27 +0400
commit73e138c9fdf64cab23330fc13b73383d8648324d (patch)
tree66ec359c27ac7dfd99db20ab63efd617e672ea84 /library/CMakeLists.txt
parent6c661bcaa907952f3ffdc4ff546ec88cfcc36d72 (diff)
downloaddfhack-73e138c9fdf64cab23330fc13b73383d8648324d.tar.gz
dfhack-73e138c9fdf64cab23330fc13b73383d8648324d.tar.bz2
dfhack-73e138c9fdf64cab23330fc13b73383d8648324d.tar.xz
Support ordinary struct and class fields.
Diffstat (limited to 'library/CMakeLists.txt')
-rw-r--r--library/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index 3b1c6e7b..72bf91e6 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -200,7 +200,7 @@ ADD_CUSTOM_TARGET(generate_headers DEPENDS ${dfapi_SOURCE_DIR}/include/df/static
IF(UNIX)
# Don't produce debug info for generated stubs
SET_SOURCE_FILES_PROPERTIES(DataStatics.cpp DataStaticsCtor.cpp DataStaticsFields.cpp
- PROPERTIES COMPILE_FLAGS "-g0")
+ PROPERTIES COMPILE_FLAGS "-g0 -O1")
ELSE(WIN32)
ENDIF()