From d4f9315bfae76bf9ce0536363efc674312e2c5c0 Mon Sep 17 00:00:00 2001 From: Andrew Wilcox Date: Wed, 13 Dec 2006 22:30:44 +0000 Subject: binutils: be sure and prime the config.cache for libiberty --- packages/binutils/binutils.inc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages') diff --git a/packages/binutils/binutils.inc b/packages/binutils/binutils.inc index 680e579a06..02ad406170 100644 --- a/packages/binutils/binutils.inc +++ b/packages/binutils/binutils.inc @@ -60,6 +60,13 @@ export CC = "${CCACHE} ${HOST_PREFIX}gcc ${HOST_CC_ARCH}" do_configure () { (cd ${S}; gnu-configize) || die "Failed to run gnu-configize" oe_runconf +# +# must prime config.cache to ensure the build of libiberty +# + mkdir -p ${B}/build-${BUILD_SYS} + for i in ${CONFIG_SITE}; do + cat $i >> ${B}/build-${BUILD_SYS}/config.cache + done } do_stage () { -- cgit v1.2.3