termux-packages/packages/swift/swiftpm-android-flags.json

19 lines
679 B
JSON
Raw Normal View History

{
"version": 1,
"target": "@TERMUX_ARCH@-unknown-linux-android",
"toolchain-bin-dir": "@TERMUX_STANDALONE_TOOLCHAIN@/bin",
"sdk": "@TERMUX_STANDALONE_TOOLCHAIN@/sysroot",
"extra-cc-flags": [
"-fPIC"
],
"extra-swiftc-flags": [
"-sdk", "@TERMUX_STANDALONE_TOOLCHAIN@/sysroot", "-resource-dir", "@TERMUX_PREFIX@/lib/swift",
"-tools-directory", "@TERMUX_STANDALONE_TOOLCHAIN@/@TERMUX_HOST_PLATFORM@/bin",
"-Xclang-linker", "--target=@CCTERMUX_HOST_PLATFORM@", "-L@TERMUX_PREFIX@/lib",
"-L@TERMUX_STANDALONE_TOOLCHAIN@/lib/gcc/@TERMUX_HOST_PLATFORM@/4.9.x"
],
"extra-cpp-flags": [
"-lstdc++"
]
}