summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2012-10-17 17:11:13 -0700
committerDon Kjer <don@lindenlab.com>2012-10-17 17:11:13 -0700
commit5bf755ba014cfd8f82b2b94f29ace98a8e887ed6 (patch)
treee20e508c9c179cb1094c000516e9e857b3c1cffc /indra/cmake
parentc8d58f8db33360a0610a6dabd29916b4081a73db (diff)
Adding '-g' to mac builds
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/00-Common.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 98eeed09b3..bc140d5f7c 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -195,7 +195,7 @@ if (DARWIN)
# This is a known issue where getcontext(3) is writing past the end of the
# ucontext_t struct when _XOPEN_SOURCE is not defined (rdar://problem/5578699 ).
# As a workaround, define _XOPEN_SOURCE before including ucontext.h.
- add_definitions(-DLL_DARWIN=1 -D_XOPEN_SOURCE)
+ add_definitions(-DLL_DARWIN=1 -D_XOPEN_SOURCE -g)
set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names,-search_paths_first")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_CXX_LINK_FLAGS}")
set(DARWIN_extra_cstar_flags "-mlong-branch")