Skip to content

Commit 8fa9eb5

Browse files
committed
[SwiftCompilerSources] Build without target OS checking
Temporarily workaround an availability issue with CxxStdlib when building with --bootstrapping=hosttools.
1 parent 6af9c99 commit 8fa9eb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SwiftCompilerSources/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ function(add_swift_compiler_modules_library name)
7575
set(swift_compile_options
7676
"-Xfrontend" "-validate-tbd-against-ir=none"
7777
"-Xfrontend" "-enable-experimental-cxx-interop"
78+
"-Xfrontend" "-disable-target-os-checking"
7879
"-Xcc" "-std=c++17"
7980
"-Xcc" "-DCOMPILED_WITH_SWIFT"
8081
"-Xcc" "-UIBOutlet" "-Xcc" "-UIBAction" "-Xcc" "-UIBInspectable")

0 commit comments

Comments
 (0)