1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-12 22:36:40 +00:00
termux-packages/packages/pypy/arm-cc.sh

8 lines
243 B
Bash
Raw Permalink Normal View History

2022-03-11 05:31:06 +00: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