summaryrefslogtreecommitdiff
path: root/classes/native.bbclass
diff options
context:
space:
mode:
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}"