summaryrefslogtreecommitdiff
path: root/classes/native.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-05-19 23:03:37 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-05-19 23:03:37 +0000
commit9375e3001c13e0ebe5290a024dc7c61d6696d4f6 (patch)
treef693898084e695860bd24325faf5a4cfdd493203 /classes/native.bbclass
parentc06f625bc299f489f37e391b430ceb5e67006f2a (diff)
native.bbclass: Unset CONFIG_SITE since we shouldn't be using site files for native builds
Diffstat (limited to 'classes/native.bbclass')
-rw-r--r--classes/native.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/native.bbclass b/classes/native.bbclass
index 556c0e17e2..43000f96bf 100644
--- a/classes/native.bbclass
+++ b/classes/native.bbclass
@@ -39,6 +39,9 @@ LDFLAGS_build-darwin = "-L${STAGING_DIR}/${BUILD_SYS}/lib "
STAGING_BINDIR = "${STAGING_BINDIR_NATIVE}"
STAGING_BINDIR_CROSS = "${STAGING_BINDIR_NATIVE}"
+# Don't use site files for native builds
+export CONFIG_SITE = ""
+
# set the compiler as well. It could have been set to something else
export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}"