File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ if(SWIFT_BUILD_STDLIB AND SWIFT_BUILD_SDK_OVERLAY)
2828 set (swift_cxxstdlib_darwin_dependencies Darwin)
2929endif ()
3030
31+ set (swift_cxxstdlib_dependencies)
32+ if (NOT DEFINED SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT OR NOT SWIFT_BUILD_CLANG_OVERLAYS_SKIP_BUILTIN_FLOAT)
33+ set (swift_cxxstdlib_dependencies _Builtin_float)
34+ endif ()
35+
3136#
3237# C++ Standard Library Overlay.
3338#
@@ -38,7 +43,7 @@ add_swift_target_library(swiftCxxStdlib STATIC NO_LINK_NAME IS_STDLIB IS_SWIFT_O
3843 Chrono.swift
3944 String .swift
4045
41- SWIFT_MODULE_DEPENDS Cxx
46+ SWIFT_MODULE_DEPENDS Cxx ${swift_cxxstdlib_dependencies}
4247 SWIFT_MODULE_DEPENDS_IOS ${swift_cxxstdlib_darwin_dependencies}
4348 SWIFT_MODULE_DEPENDS_OSX ${swift_cxxstdlib_darwin_dependencies}
4449 SWIFT_MODULE_DEPENDS_TVOS ${swift_cxxstdlib_darwin_dependencies}
You can’t perform that action at this time.
0 commit comments