Skip to content

Commit 26cf4b4

Browse files
authored
Merge pull request #62521 from apple/egorzhdan/cxx-overlay-to-toolchain
[cxx-interop] Move C++ standard library overlay to the toolchain
2 parents 5d0a509 + 151c205 commit 26cf4b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stdlib/public/Cxx/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ add_swift_target_library(swiftCxx ${SWIFT_CXX_LIBRARY_KIND} NO_LINK_NAME IS_STDL
1515
-Xcc -nostdinc++
1616

1717
LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS}"
18-
INSTALL_IN_COMPONENT sdk-overlay
18+
INSTALL_IN_COMPONENT compiler
1919
INSTALL_WITH_SHARED)
2020

2121
add_subdirectory(std)

stdlib/public/Cxx/std/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,6 @@ add_swift_target_library(swiftstd STATIC NO_LINK_NAME IS_STDLIB
147147

148148
LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS}"
149149
TARGET_SDKS ALL_APPLE_PLATFORMS LINUX
150-
INSTALL_IN_COMPONENT sdk-overlay
150+
INSTALL_IN_COMPONENT compiler
151151
INSTALL_WITH_SHARED
152152
DEPENDS libstdcxx-modulemap)

0 commit comments

Comments
 (0)