summaryrefslogtreecommitdiffstats
path: root/scripts/wrapper/host-gcc-wrapper
blob: b69f038d21bcd67867be364d9c7648c8ec59efb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

WRAPPER_DIR="$(dirname "$(readlink -f "$0")")"
. "${WRAPPER_DIR}/libwrapper.sh" || exit

HOST=true

cc_check_args "${@}"

cc_add_host_ld_args
cc_add_host_extra
cc_add_host_icecc

wrapper_exec "$@"