termux-packages/packages/pypy/aarch64-cc.sh
2022-03-15 12:01:29 +09:00

8 lines
240 B
Bash

#!/bin/bash
if [ "$1" != "-cc1" ]; then
/host-rootfs/$TERMUX_STANDALONE_TOOLCHAIN/bin/clang --target=aarch64-linux-android24 "$@"
else
# Target is already an argument.
/host-rootfs/$TERMUX_STANDALONE_TOOLCHAIN/bin/clang "$@"
fi