summaryrefslogtreecommitdiffhomepage
path: root/cmake/apple.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-04 07:30:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-04 07:30:42 +0200
commit1c0fae7768f0d63e47879c8c6f65cb515f2511be (patch)
treead010d5dc19c528582a006acedcd39010091f19e /cmake/apple.cmake
parent172fcf201284af385b9cc7d140fffc5ed622fcb5 (diff)
osx: increase stack size 4 times
Issue: #349
Diffstat (limited to 'cmake/apple.cmake')
-rwxr-xr-x[-rw-r--r--]cmake/apple.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/apple.cmake b/cmake/apple.cmake
index e7d0c152..c0f15727 100644..100755
--- a/cmake/apple.cmake
+++ b/cmake/apple.cmake
@@ -6,7 +6,7 @@ set(CMAKE_C_FLAGS "-arch x86_64" CACHE STRING "" FORCE)
set(CMAKE_C_FLAGS_RELEASE "-ffast-math -O3 -flto -fvisibility=hidden" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_RELEASE " ${CMAKE_C_FLAGS_RELEASE} -fvisibility-inlines-hidden " CACHE STRING "" FORCE)
-set(CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++ -std=c++11 -arch x86_64" CACHE STRING "" FORCE)
+set(CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++ -std=c++11 -arch x86_64 -Wl,-stack_size,0x4000000" CACHE STRING "" FORCE)
set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} CACHE STRING "" FORCE)
set(CMAKE_MODULE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} CACHE STRING "" FORCE)