diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-23 10:07:56 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-23 10:07:56 +0000 |
commit | 8ec24bc6ec123e505cf2621a160614bc3a69756f (patch) | |
tree | 4c7a4bb9979e7ad5fc9456d3db4e7fb3b7dc9518 /meta/classes | |
parent | e50291290b0b2a2fa3698d35750546b80a5c9fea (diff) | |
download | poky-8ec24bc6ec123e505cf2621a160614bc3a69756f.tar.gz |
cross.bbclass: Explicitly set the compiler in the same way as native.bbclass, otherwise TOOLCHAIN_OPTIONS can interfer
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3212 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cross.bbclass | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 6e5480a2a0..42a6253723 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass | |||
@@ -20,6 +20,19 @@ CXXFLAGS = "${BUILD_CFLAGS}" | |||
20 | LDFLAGS = "${BUILD_LDFLAGS}" | 20 | LDFLAGS = "${BUILD_LDFLAGS}" |
21 | LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE}" | 21 | LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE}" |
22 | 22 | ||
23 | # Set the compiler. It could have been set to something else | ||
24 | export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" | ||
25 | export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}" | ||
26 | export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}" | ||
27 | export CPP = "${HOST_PREFIX}gcc -E" | ||
28 | export LD = "${HOST_PREFIX}ld" | ||
29 | export CCLD = "${CC}" | ||
30 | export AR = "${HOST_PREFIX}ar" | ||
31 | export AS = "${HOST_PREFIX}as" | ||
32 | export RANLIB = "${HOST_PREFIX}ranlib" | ||
33 | export STRIP = "${HOST_PREFIX}strip" | ||
34 | |||
35 | |||
23 | # Overrides for paths | 36 | # Overrides for paths |
24 | 37 | ||
25 | # Path prefixes | 38 | # Path prefixes |