1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-13 05:16:37 +00:00
termux-packages/packages/pypy/arm-cc.sh
2022-03-15 12:01:29 +09:00

8 lines
243 B
Bash

#!/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