summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/cross.bbclass13
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}"
20LDFLAGS = "${BUILD_LDFLAGS}" 20LDFLAGS = "${BUILD_LDFLAGS}"
21LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE}" 21LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE}"
22 22
23# Set the compiler. It could have been set to something else
24export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
25export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}"
26export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}"
27export CPP = "${HOST_PREFIX}gcc -E"
28export LD = "${HOST_PREFIX}ld"
29export CCLD = "${CC}"
30export AR = "${HOST_PREFIX}ar"
31export AS = "${HOST_PREFIX}as"
32export RANLIB = "${HOST_PREFIX}ranlib"
33export STRIP = "${HOST_PREFIX}strip"
34
35
23# Overrides for paths 36# Overrides for paths
24 37
25# Path prefixes 38# Path prefixes