From patchwork Sat May 10 02:12:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cody P Schafer X-Patchwork-Id: 347585 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9AECB14009B for ; Sat, 10 May 2014 12:12:21 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to; q= dns; s=default; b=Ps32gaKfzORT9r2rmicRdAZ5PhxpQCYnOY/D2NLbAfrWHK 0vAT2j7dJRcmbH4FR2j3V1EX6gCNJRp+Yb5tlJuyGCDcWvxSe+R15hwojqtABuTZ q4w//QOySfoAc6PXrJJUCgxjERcebHpkhB5KHH0ogTOLYbmp89pyyM1jUpGxQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to; s= default; bh=ZWISSnopD4/4DkiXh9ou1EmGFAM=; b=MUofCHJXkI/HJxffF1mP bSHjAB8M416OdOAsqKV3aYLFQwloVJwc1Rd6zof3u1DN0+Bzg785ozkcCNuW4fOU 3JIJDbQuBIorjtEBs0uy9KxJf51QLXv6PRRwUiWi+6awZQF3YAWcLgjI3Y10Y54s +18kTqBGgYxFL1b0yEEenr8= Received: (qmail 7626 invoked by alias); 10 May 2014 02:12:14 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 7611 invoked by uid 89); 10 May 2014 02:12:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL, BAYES_00, SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: e8.ny.us.ibm.com Received: from e8.ny.us.ibm.com (HELO e8.ny.us.ibm.com) (32.97.182.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 10 May 2014 02:12:11 +0000 Received: from /spool/local by e8.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 9 May 2014 22:12:08 -0400 Received: from d01dlp01.pok.ibm.com (9.56.250.166) by e8.ny.us.ibm.com (192.168.1.108) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 9 May 2014 22:12:06 -0400 Received: from b01cxnp23033.gho.pok.ibm.com (b01cxnp23033.gho.pok.ibm.com [9.57.198.28]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id C863F38C803D for ; Fri, 9 May 2014 22:12:05 -0400 (EDT) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by b01cxnp23033.gho.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s4A2C50R2883896 for ; Sat, 10 May 2014 02:12:05 GMT Received: from d01av01.pok.ibm.com (localhost [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s4A2C5bD001580 for ; Fri, 9 May 2014 22:12:05 -0400 Received: from localdomain.local ([9.80.100.93]) by d01av01.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s4A2C5d1001539 for ; Fri, 9 May 2014 22:12:05 -0400 Received: by localdomain.local (Postfix, from userid 1000) id A0E3A187048; Fri, 9 May 2014 19:12:04 -0700 (PDT) MIME-Version: 1.0 Subject: [PATCH] Avoid passing --enable-multilib X-Mercurial-Node: 5c970c1ceb22528fe28a7669a9f6ef67a4eedae3 Message-Id: <5c970c1ceb22528fe28a.1399687923@localhost> User-Agent: Mercurial-patchbomb/2.8.2+90-3a3731a60354 Date: Fri, 09 May 2014 19:12:03 -0700 From: Cody Schafer To: crossgcc@sourceware.org X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14051002-0320-0000-0000-000003398FAE # HG changeset patch # User Cody Schafer # Date 1399687919 25200 # Fri May 09 19:11:59 2014 -0700 # Node ID 5c970c1ceb22528fe28a7669a9f6ef67a4eedae3 # Parent c70f928e69e022cfbf09a2103ed0bbd349bc518f Avoid passing --enable-multilib Some versions of gcc have a broken --enable-multilib flag. As multilib is the default, only pass the --disable-multilib flag Signed-off-by: Cody P Schafer --- For unsubscribe information see http://sourceware.org/lists.html#faq diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -367,11 +367,7 @@ extra_config+=("--with-system-zlib") fi - if [ "${CT_MULTILIB}" = "y" ]; then - extra_config+=("--enable-multilib") - else - extra_config+=("--disable-multilib") - fi + [ "${CT_MULTILIB}" != "y" ] && extra_config+=("--disable-multilib") CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"