summaryrefslogtreecommitdiff
path: root/openembedded/classes/native.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-27 21:49:50 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-27 21:49:50 +0000
commit3097ab0f62233dc336dfe611fef4b8b633355190 (patch)
tree8173abc003c9703cf625d4e100f57d3d5141177d /openembedded/classes/native.bbclass
parentb77fcc05cacdf70819cc226d53156a9e70e84e04 (diff)
downloadopenembedded-core-3097ab0f62233dc336dfe611fef4b8b633355190.tar.gz
openembedded-core-3097ab0f62233dc336dfe611fef4b8b633355190.tar.bz2
openembedded-core-3097ab0f62233dc336dfe611fef4b8b633355190.tar.xz
openembedded-core-3097ab0f62233dc336dfe611fef4b8b633355190.zip
Sync conf and classes with OE - changes have been tested and don't affect poky
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@446 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/classes/native.bbclass')
-rw-r--r--openembedded/classes/native.bbclass14
1 files changed, 14 insertions, 0 deletions
diff --git a/openembedded/classes/native.bbclass b/openembedded/classes/native.bbclass
index 011e48cf6..04ff7d92d 100644
--- a/openembedded/classes/native.bbclass
+++ b/openembedded/classes/native.bbclass
@@ -36,6 +36,20 @@ CXXFLAGS = "${BUILD_CFLAGS}"
LDFLAGS = "${BUILD_LDFLAGS}"
LDFLAGS_build-darwin = "-L${STAGING_DIR}/${BUILD_SYS}/lib "
+
+# 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}"
+export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}"
+export CPP = "${HOST_PREFIX}gcc -E"
+export LD = "${HOST_PREFIX}ld"
+export CCLD = "${CC}"
+export AR = "${HOST_PREFIX}ar"
+export AS = "${HOST_PREFIX}as"
+export RANLIB = "${HOST_PREFIX}ranlib"
+export STRIP = "${HOST_PREFIX}strip"
+
+
# Path prefixes
base_prefix = "${exec_prefix}"
prefix = "${STAGING_DIR}"