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
67
67
"SHELL: ${cxx_interop_flag} "
68
68
"SHELL: -Xcc -std=c++17 -Xcc -DCOMPILED_WITH_SWIFT"
69
69
70
+ # FIXME: Needed to work around an availability issue with CxxStdlib
71
+ "SHELL: -Xfrontend -disable-target-os-checking"
72
+
70
73
# Necessary to avoid treating IBOutlet and IBAction as keywords
71
74
"SHELL:-Xcc -UIBOutlet -Xcc -UIBAction -Xcc -UIBInspectable"
72
75
)
Original file line number Diff line number Diff line change @@ -31,16 +31,16 @@ let swiftSetttings: [SwiftSetting] = [
31
31
" -Xcc " , " -I../../../build/Default/swift/include " ,
32
32
" -Xcc " , " -I../../../build/Default/llvm/include " ,
33
33
" -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 " ,
34
37
] ) ,
35
38
]
36
39
37
40
let package = Package (
38
41
name: " swiftSwiftCompiler " ,
39
42
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)
44
44
] ,
45
45
products: [
46
46
. library( name: " swiftASTGen " , targets: [ " swiftASTGen " ] ) ,
You can’t perform that action at this time.
0 commit comments