diff options
author | Monty Brandenberg <monty@lindenlab.com> | 2013-05-13 18:34:54 -0400 |
---|---|---|
committer | Monty Brandenberg <monty@lindenlab.com> | 2013-05-13 18:34:54 -0400 |
commit | 73f474d886d2430db3d5c8f7729f769b389730a4 (patch) | |
tree | 5b1f481284a030c72ac08d8b3027ed608bc3ceb6 /indra/cmake/00-Common.cmake | |
parent | 81ffd3fccac709a5903dd0d7572db50c50850347 (diff) | |
parent | 180dd12ed637c1f63a5013d25fbac002e1d94c93 (diff) |
Merge. Refresh from /lindenlab/viewer-cat prior to pushing.
Diffstat (limited to 'indra/cmake/00-Common.cmake')
-rwxr-xr-x[-rw-r--r--] | 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 a820cd39d0..20243b092b 100644..100755 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -186,12 +186,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") |