From 79d9304047fbee73a3e12e1e6fc6fa36e8b8901a Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 11 Feb 2008 19:15:53 +0200 Subject: [PATCH] binutils: improved by adding an explicit check if multilib has to be enabled or not --- base/binutils/binutils.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base/binutils/binutils.conf b/base/binutils/binutils.conf index 21af4d966..e51fc68d1 100644 --- a/base/binutils/binutils.conf +++ b/base/binutils/binutils.conf @@ -15,6 +15,12 @@ hook_add preconf 5 "mkdir -p objdir; cd objdir; configscript=../configure" +if [ "$SDECFG_MULTILIB" != 1 ]; then + var_append extraconfopt ' ' "--disable-multilib" +else + var_append extraconfopt ' ' "--enable-multilib" +fi + if atstage toolchain; then bindir="/$prefix/crosscc"; mkdir -p $root/$prefix/crosscc var_append confopt " " "--with-sysroot=$sysroot"