diff options
author | Paul Oppenheim <poppy@lindenlab.com> | 2008-08-18 08:09:52 +0000 |
---|---|---|
committer | Paul Oppenheim <poppy@lindenlab.com> | 2008-08-18 08:09:52 +0000 |
commit | 728e2c6e70c7eddb0003d75ee81103aa6c540a8a (patch) | |
tree | e25a587ed54f3727e1db259ee6ff6152d380332e /indra/cmake/00-Common.cmake | |
parent | 6931f129a2346c799bcb44c8e7ade71c425bf627 (diff) |
fix for DEV-18488 - remove optimization for RelWithDebInfo for Darwin builds. Not reviewed, mailed to cmake@. Pretty minor, not destructive. Also removing test lldatabase_tut on mac for DEV-14371 until theres a sane way to do connection checking. I could be wrong on this one.
Diffstat (limited to 'indra/cmake/00-Common.cmake')
-rw-r--r-- | indra/cmake/00-Common.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake index 1d697deeae..5cacd459e9 100644 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -164,6 +164,10 @@ if (DARWIN) set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_CXX_LINK_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlong-branch") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlong-branch") + # NOTE: it's critical that the optimization flag is put in front. + # NOTE: it's critical to have both CXX_FLAGS and C_FLAGS covered. + set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O0 ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") + set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O0 ${CMAKE_C_FLAGS_RELWITHDEBINFO}") endif (DARWIN) |