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

8 lines
243 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=armv7a-linux-androideabi24 "$@"
else
# Target is already an argument.
/host-rootfs/$TERMUX_STANDALONE_TOOLCHAIN/bin/clang "$@"
fi