Skip to content

Commit 1620599

Browse files
committed
[CMake stdlib] do not override flags for RelWithDebInfo when ...
...building the stdlib for Apple platforms. For now we want to match the flags the existing configuration (which is already accounted by the default values provided by CMake) -- in particular the generation of full symbols and usage of whole module optimization. Addresses rdar://142620659
1 parent f67b35c commit 1620599

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Runtimes/Core/cmake/caches/Vendors/Apple/apple-common.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@ set(SwiftCore_ENABLE_VECTOR_TYPES ON CACHE BOOL "")
1212
set(SwiftCore_ENABLE_RUNTIME_FUNCTION_COUNTERS ON CACHE BOOL "")
1313
set(SwiftCore_ENABLE_BACKDEPLOYMENT_SUPPORT ON CACHE BOOL "")
1414
set(SwiftCore_ENABLE_FILESYSTEM_SUPPORT ON CACHE BOOL "")
15-
16-
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
17-
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
18-
set(CMAKE_Swift_FLAGS_RELWITHDEBINFO "-O -gline-tables-only" CACHE STRING "")

0 commit comments

Comments
 (0)