File tree 1 file changed +6
-1
lines changed
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)
28
28
set (swift_cxxstdlib_darwin_dependencies Darwin)
29
29
endif ()
30
30
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
+
31
36
#
32
37
# C++ Standard Library Overlay.
33
38
#
@@ -38,7 +43,7 @@ add_swift_target_library(swiftCxxStdlib STATIC NO_LINK_NAME IS_STDLIB IS_SWIFT_O
38
43
Chrono.swift
39
44
String .swift
40
45
41
- SWIFT_MODULE_DEPENDS Cxx
46
+ SWIFT_MODULE_DEPENDS Cxx ${swift_cxxstdlib_dependencies}
42
47
SWIFT_MODULE_DEPENDS_IOS ${swift_cxxstdlib_darwin_dependencies}
43
48
SWIFT_MODULE_DEPENDS_OSX ${swift_cxxstdlib_darwin_dependencies}
44
49
SWIFT_MODULE_DEPENDS_TVOS ${swift_cxxstdlib_darwin_dependencies}
You can’t perform that action at this time.
0 commit comments