We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d04d8c1 + b6783f8 commit a994e62Copy full SHA for a994e62
SwiftCompilerSources/Package.swift
@@ -26,14 +26,14 @@ private extension Target {
26
path: path ?? "Sources/\(name)",
27
exclude: ["CMakeLists.txt"],
28
sources: sources,
29
- cxxSettings: [
30
- .headerSearchPath("../include"),
31
- .headerSearchPath("../../llvm-project/llvm/include"),
32
- .headerSearchPath("../../llvm-project/clang/include"),
33
- ],
34
swiftSettings: [
35
.interoperabilityMode(.Cxx),
36
- .unsafeFlags(["-cross-module-optimization"]),
+ .unsafeFlags([
+ "-Xcc", "-I../include",
+ "-Xcc", "-I../../llvm-project/llvm/include",
+ "-Xcc", "-I../../llvm-project/clang/include",
+ "-cross-module-optimization",
+ ]),
37
] + swiftSettings)
38
}
39
0 commit comments