aboutsummaryrefslogtreecommitdiffstats
path: root/meta/site/common
diff options
context:
space:
mode:
Diffstat (limited to 'meta/site/common')
-rw-r--r--meta/site/common4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/site/common b/meta/site/common
index 5da3ff41de..7a1e59e32c 100644
--- a/meta/site/common
+++ b/meta/site/common
@@ -15,3 +15,7 @@ shadow_cv_utmpdir=${localstatedir}/run
shadow_cv_logdir=${localstatedir}/log
shadow_cv_passwd_dir=${bindir}
+# Programs sometimes use a few different checks to see what compiler to use
+# when they know they are cross-compiling and need host utilities.
+ac_cv_prog_CC_FOR_BUILD="${BUILD_CC}"
+ac_cv_prog_CC_BUILD="${BUILD_CC}"