0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
2024-08-11 14:32:21 +08:00

8 lines
240 B
Bash

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