Skip to content

Commit 30d79fb

Browse files
author
Anton Pogonets
committed
Rename targets for swift 5.4
1 parent e47eef7 commit 30d79fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bash/swift-build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ export SWIFTPM_PD_LIBS=$xcode_toolchain/usr/lib/swift/pm
2020
if [ ! -n "${SWIFT_ANDROID_ARCH+defined}" ] || [ "$SWIFT_ANDROID_ARCH" == "aarch64" ]
2121
then
2222
export SWIFT_ANDROID_ARCH=aarch64
23-
export TARGET=aarch64-none-linux-android
23+
export TARGET=aarch64-unknown-linux-android
2424
export TRIPLE=aarch64-linux-android
2525
export ARCH=arm64
2626
export ABI=arm64-v8a
2727
export TOOLCHAIN_ROOT=aarch64-linux-android
2828
elif [ "$SWIFT_ANDROID_ARCH" == "x86_64" ]
2929
then
3030
export SWIFT_ANDROID_ARCH=x86_64
31-
export TARGET=x86_64-none-linux-android
31+
export TARGET=x86_64-unknown-linux-android
3232
export TRIPLE=x86_64-linux-android
3333
export ARCH=x86_64
3434
export ABI=x86_64
@@ -44,7 +44,7 @@ then
4444
elif [ "$SWIFT_ANDROID_ARCH" == "i686" ]
4545
then
4646
export SWIFT_ANDROID_ARCH=i686
47-
export TARGET=i686-none-linux-android
47+
export TARGET=i686-unknown-linux-android
4848
export TRIPLE=i686-linux-android
4949
export ARCH=x86
5050
export ABI=x86

0 commit comments

Comments
 (0)