0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-19 08:42:16 +00:00
2024-08-03 00:20:29 +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