summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index ff64882d14..1e592962ee 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -76,9 +76,9 @@ export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib"
76export CC_FOR_HOST = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" 76export CC_FOR_HOST = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
77export CXX_FOR_HOST = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" 77export CXX_FOR_HOST = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
78 78
79# autotools.bbclass sets the _FOR_BUILD variables, but for some reason we need
80# to unset LD_LIBRARY_PATH.
79export CC_FOR_BUILD = "LD_LIBRARY_PATH= ${BUILD_CC}" 81export CC_FOR_BUILD = "LD_LIBRARY_PATH= ${BUILD_CC}"
80export CPP_FOR_BUILD = "${BUILD_CPP}"
81export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
82 82
83MULTIARCH := "${@bb.utils.contains("DISTRO_FEATURES", "multiarch", "yes", "no", d)}" 83MULTIARCH := "${@bb.utils.contains("DISTRO_FEATURES", "multiarch", "yes", "no", d)}"
84do_configure[vardeps] += "MULTIARCH" 84do_configure[vardeps] += "MULTIARCH"