[compiler-rt] r267913 - [CMake] Updating Apple CMake cache file

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 28 11:24:29 PDT 2016


Author: cbieneman
Date: Thu Apr 28 13:24:29 2016
New Revision: 267913

URL: http://llvm.org/viewvc/llvm-project?rev=267913&view=rev
Log:
[CMake] Updating Apple CMake cache file

Changing the Apple CMake cache file to better match the way Apple Clang builds are built.

Modified:
    compiler-rt/trunk/cmake/caches/Apple.cmake

Modified: compiler-rt/trunk/cmake/caches/Apple.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/caches/Apple.cmake?rev=267913&r1=267912&r2=267913&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/caches/Apple.cmake (original)
+++ compiler-rt/trunk/cmake/caches/Apple.cmake Thu Apr 28 13:24:29 2016
@@ -6,7 +6,10 @@ set(COMPILER_RT_HAS_SAFESTACK OFF CACHE
 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 "")




More information about the llvm-commits mailing list