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

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

HOST=true

cc_check_args "${@}"

cc_add_host_clang
cc_add_host_ld_args
cc_add_host_extra
clang_check_host_icecc
cc_add_host_icecc clang

wrapper_exec "$@"