diff options
author | Oz Linden <oz@lindenlab.com> | 2013-05-07 15:11:55 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-05-07 15:11:55 -0400 |
commit | 545e033d1e008f4b1da330d6967b363c7d09feca (patch) | |
tree | 73e1a622a224b81bce076d38a8c4140e43c8deb9 /indra/cmake/00-Common.cmake | |
parent | f382233fbb29bf81fc4009930dc134253d8ea250 (diff) | |
parent | 0f3d291ef61deeb015dec332cf19822b63be2402 (diff) |
merge changes for DRTVWR-299
Diffstat (limited to 'indra/cmake/00-Common.cmake')
-rwxr-xr-x | indra/cmake/00-Common.cmake | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake index fb5c759493..472f271fa8 100755 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -175,12 +175,7 @@ endif (LINUX) if (DARWIN) - # NOTE (per http://lists.apple.com/archives/darwin-dev/2008/Jan/msg00232.html): - # > Why the bus error? What am I doing wrong? - # 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) set(CMAKE_CXX_LINK_FLAGS "-Wl,-no_compact_unwind -Wl,-headerpad_max_install_names,-search_paths_first") set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_CXX_LINK_FLAGS}") set(DARWIN_extra_cstar_flags "-mlong-branch -g") |