summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2006-05-13 23:13:49 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-13 23:13:49 +0000
commitbc8737a269a5dabdeeb4edf1f7cfedd180a06235 (patch)
treeeff8734d474809177d1c8ad1e1c7a98e32687bae /classes
parent7ce3b45fa4d78b07604dbfed2acb36013964b8b4 (diff)
parent79fab119b4a5f7c60ed7a4258e6e9edcec030dfe (diff)
merge of 8efb6d518237c849bc9f83f3b790e512ede468b5
and ca8983277c182e7af1fe480f0311ac4751b6a178
Diffstat (limited to 'classes')
-rw-r--r--classes/native.bbclass14
1 files changed, 14 insertions, 0 deletions
diff --git a/classes/native.bbclass b/classes/native.bbclass
index 011e48cf62..04ff7d92d1 100644
--- a/classes/native.bbclass
+++ b/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}"