Skip to content

Commit f03ec50

Browse files
author
Doug Coleman
committed
[build-script] When cross compiling tools, don't install native host tools.
1 parent 647f65e commit f03ec50

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/build-script-impl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2781,6 +2781,11 @@ for host in "${ALL_HOSTS[@]}"; do
27812781
continue
27822782
fi
27832783

2784+
# Skip this if we're cross compiling and it's the local host.
2785+
if [[ $(has_cross_compile_hosts) ]] && [[ ${host} == ${LOCAL_HOST} ]]; then
2786+
continue
2787+
fi
2788+
27842789
# Calculate the directory to install products in to.
27852790
host_install_destdir=$(get_host_install_destdir ${host})
27862791
host_install_prefix=$(get_host_install_prefix ${host})

0 commit comments

Comments
 (0)