SwiftCompilerSources: force the -static flag

These libraries are built statically for static linking.  SPM currently
does not support libraries, and this will ensure that we properly build
the library target for consumption into the compiler.
This commit is contained in:
Saleem Abdulrasool
2023-08-24 11:16:35 -07:00
parent 309a147d80
commit 295eef0cd9

View File

@@ -29,6 +29,7 @@ private extension Target {
swiftSettings: [
.interoperabilityMode(.Cxx),
.unsafeFlags([
"-static",
"-Xcc", "-I../include",
"-Xcc", "-I../../llvm-project/llvm/include",
"-Xcc", "-I../../llvm-project/clang/include",