File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ set(compile_options
6767 "SHELL: ${cxx_interop_flag} "
6868 "SHELL: -Xcc -std=c++17 -Xcc -DCOMPILED_WITH_SWIFT"
6969
70+ # FIXME: Needed to work around an availability issue with CxxStdlib
71+ "SHELL: -Xfrontend -disable-target-os-checking"
72+
7073 # Necessary to avoid treating IBOutlet and IBAction as keywords
7174 "SHELL:-Xcc -UIBOutlet -Xcc -UIBAction -Xcc -UIBInspectable"
7275)
Original file line number Diff line number Diff line change @@ -31,16 +31,16 @@ let swiftSetttings: [SwiftSetting] = [
3131 " -Xcc " , " -I../../../build/Default/swift/include " ,
3232 " -Xcc " , " -I../../../build/Default/llvm/include " ,
3333 " -Xcc " , " -I../../../build/Default/llvm/tools/clang/include " ,
34+
35+ // FIXME: Needed to work around an availability issue with CxxStdlib
36+ " -Xfrontend " , " -disable-target-os-checking " ,
3437 ] ) ,
3538]
3639
3740let package = Package (
3841 name: " swiftSwiftCompiler " ,
3942 platforms: [
40- // We need at least macOS 13 here to avoid hitting an availability error
41- // for CxxStdlib. It's only needed for the package though, the CMake build
42- // works fine with a lower deployment target.
43- . macOS( . v13)
43+ . macOS( . v10_15)
4444 ] ,
4545 products: [
4646 . library( name: " swiftASTGen " , targets: [ " swiftASTGen " ] ) ,
You can’t perform that action at this time.
0 commit comments