summaryrefslogtreecommitdiff
path: root/cmake/caches/Apple.cmake
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-04-28 18:24:29 +0000
committerChris Bieneman <beanz@apple.com>2016-04-28 18:24:29 +0000
commit00e889724f1e6cabe413e5f5e6187a4a56b33a9e (patch)
treebadc3282ab94dd204b9135e501174f2e546dd393 /cmake/caches/Apple.cmake
parentee9e22a7cde70075c7643f6cf854d26cfbe08a05 (diff)
[CMake] Updating Apple CMake cache file
Changing the Apple CMake cache file to better match the way Apple Clang builds are built. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@267913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/caches/Apple.cmake')
-rw-r--r--cmake/caches/Apple.cmake9
1 files changed, 6 insertions, 3 deletions
diff --git a/cmake/caches/Apple.cmake b/cmake/caches/Apple.cmake
index 4a582fa1d..cdee3c088 100644
--- a/cmake/caches/Apple.cmake
+++ b/cmake/caches/Apple.cmake
@@ -6,7 +6,10 @@ set(COMPILER_RT_HAS_SAFESTACK OFF CACHE BOOL "")
set(COMPILER_RT_EXTERNALIZE_DEBUGINFO ON CACHE BOOL "")
set(CMAKE_MACOSX_RPATH ON CACHE BOOL "")
-set(CMAKE_C_FLAGS_RELEASE "-O3 -gline-tables-only" CACHE STRING "")
-set(CMAKE_CXX_FLAGS_RELEASE "-O3 -gline-tables-only" CACHE STRING "")
-set(CMAKE_ASM_FLAGS_RELEASE "-O3 -gline-tables-only" CACHE STRING "")
+set(CMAKE_C_FLAGS_RELEASE "-O3" CACHE STRING "")
+set(CMAKE_CXX_FLAGS_RELEASE "-O3" CACHE STRING "")
+set(CMAKE_ASM_FLAGS_RELEASE "-O3" CACHE STRING "")
+set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
+set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
+set(CMAKE_ASM_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
set(CMAKE_BUILD_TYPE RELEASE CACHE STRING "")