termux-packages/packages/pypy/aarch64-cc.sh

8 lines
240 B
Bash
Raw Normal View History

2022-03-11 06:31:06 +01:00
#!/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