mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Declare a new `LINUX_STATIC` SDK and configure it. Add options to set the build architectures for the `LINUX` and `LINUX_STATIC` SDKs, similar to what we have for Darwin, because we'll be cross-compiling. Also add an option to point the build system at the sources for the musl C library, which we're using for `LINUX_STATIC`. rdar://123503470
10 lines
126 B
Plaintext
10 lines
126 B
Plaintext
-ldl
|
|
-lpthread
|
|
-lswiftCore
|
|
-ldispatch -lBlocksRuntime
|
|
-lc++
|
|
-lm
|
|
-Xlinker -export-dynamic
|
|
-Xlinker --exclude-libs
|
|
-Xlinker ALL
|