aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers')
-rwxr-xr-xwrappers/site/config.site3
1 files changed, 2 insertions, 1 deletions
diff --git a/wrappers/site/config.site b/wrappers/site/config.site
index 7b6fecb..68cec91 100755
--- a/wrappers/site/config.site
+++ b/wrappers/site/config.site
@@ -36,7 +36,8 @@ config_site_names() {
done
}
-if [[ ${CHOST} != "" ]]; then
+# Only kick in for cross-compiles so we don't break native builds #427184
+if [[ ${CBUILD:-${CHOST}} != ${CHOST} ]]; then
sites="$(config_site_names)"
if [[ ${sites} != "" ]]; then
for site in ${sites}; do