X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/2f0de58717a7c0c24a8fabc24e129aeb541e1765..16c697b30e6e68d1dbdc0acabf3a70aab367cbf7:/scripts/clang-pie-wrapper?ds=sidebyside 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[@]}" "$@"