X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/2f0de58717a7c0c24a8fabc24e129aeb541e1765..601e514efbb153ea30a8415c975fd2dc392ea431:/scripts/clang-pie-wrapper diff --git a/scripts/clang-pie-wrapper b/scripts/clang-pie-wrapper index d0e3ef1c..d9650249 100755 --- a/scripts/clang-pie-wrapper +++ b/scripts/clang-pie-wrapper @@ -25,7 +25,7 @@ arguments=() # The ordinary wrapper from a NDK standalone toolchain # with "${arguments[@]}" added. if [ "$1" != "-cc1" ]; then - `dirname $0`/COMPILER -target aarch64-none-linux-android --sysroot `dirname $0`/../sysroot "${arguments[@]}" "$@" + `dirname $0`/COMPILER -target CLANG_TARGET --sysroot `dirname $0`/../sysroot "${arguments[@]}" "$@" else # target/triple already spelled out. `dirname $0`/COMPILER "${arguments[@]}" "$@"