From f9f0d0a5c41142d972c1c1b5398774ec99eb8a3b 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 423aa5755..f8a5605ce 100644 --- a/base/binutils/binutils.conf +++ b/base/binutils/binutils.conf @@ -13,6 +13,12 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- +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"