summaryrefslogtreecommitdiffstats
path: root/scripts/wrapper/host-clang++-wrapper
blob: 812ad7f84130c7e0ff53e5025aa3ebf2ff3e48b6 (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
cxx_add_host_extra
clang_check_host_icecc
cxx_add_host_icecc clang

wrapper_exec "$@"