summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-21 09:43:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-21 09:43:09 +0200
commit57b069b70c85a61cfd42fe2a2184bd1fc8346938 (patch)
treebbca1f1cf167306e2e6574326c2109e8933ef3b0 /cmake
parenta6d6c535b6bf4b8f42016e79c3bf944f45c22762 (diff)
cmake: add osx -g also for lto caseopentrack-2.3-rc49p1
Diffstat (limited to 'cmake')
-rw-r--r--cmake/apple.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/apple.cmake b/cmake/apple.cmake
index afeaaab5..3db8e3ef 100644
--- a/cmake/apple.cmake
+++ b/cmake/apple.cmake
@@ -3,8 +3,8 @@ set(CMAKE_BUILD_TYPE_INIT RELEASE)
set(CMAKE_CXX_FLAGS "-arch x86_64 -std=c++11 -stdlib=libc++" CACHE STRING "" FORCE)
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_C_FLAGS_RELEASE "-ffast-math -O3 -flto -fvisibility=hidden -g" CACHE STRING "" FORCE)
+set(CMAKE_CXX_FLAGS_RELEASE " ${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "" FORCE)
set(cmake-link-common "-stdlib=libc++ -std=c++11 -arch x86_64")
set(CMAKE_EXE_LINKER_FLAGS "${cmake-link-common} -Wl,-stack_size,0x4000000" CACHE STRING "" FORCE)