summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-01 16:40:35 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-01 16:40:35 +0000
commit0206afd2f88cb4dfb27bdb6b0972829d564ca2df (patch)
treeea86d449cc63e4b7db87ad4fe4cbe1f3c0930dde /meta/classes
parent62eb35c1c484294463a3d70744b445889d279b9e (diff)
downloadopenembedded-core-0206afd2f88cb4dfb27bdb6b0972829d564ca2df.tar.gz
openembedded-core-0206afd2f88cb4dfb27bdb6b0972829d564ca2df.tar.bz2
openembedded-core-0206afd2f88cb4dfb27bdb6b0972829d564ca2df.tar.xz
openembedded-core-0206afd2f88cb4dfb27bdb6b0972829d564ca2df.zip
native.bbclass: Don't use site files for native builds
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2632 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/native.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 337e4a9e6..104d5a49d 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -32,6 +32,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}"