aboutsummaryrefslogtreecommitdiffstats
path: root/meta/site/common
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-08-03 14:13:39 -0700
committerTom Rini <tom_rini@mentor.com>2011-08-03 14:13:39 -0700
commit99c2e4faac16aff416aabc92c7582acddefa8599 (patch)
tree08c3454e8df3e2f8d4d79d84987870acb3661ebb /meta/site/common
parent6c43ca6fc6a7fffc84cf28684cac0c0eb4129902 (diff)
downloadopenembedded-core-contrib-trini/WIP-fix-build_cc-not-being-single-word.tar.gz
WIP: Updates to use BUILD_CC and not 'gcc' and allow BUILD_CC to have many wordstrini/WIP-fix-build_cc-not-being-single-word
Build-tested for qemux86 and having -m64 in BUILD_CC_ARCH Signed-off-by: Tom Rini <tom_rini@mentor.com>
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}"