From patchwork Sat Jul 19 03:23:11 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: 371771 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 52476140139 for ; Sat, 19 Jul 2014 13:23:29 +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:from:to:cc:subject:date:message-id; q=dns; s= default; b=nCQdwQ9byBwt+H7LuEj3ijoUpRemi/15PgHas9SV+ksplqvCJ5C0B 1iamls4j2LQXpJbbjUV2pJD04kIxajX6/W/fMmvp+aWTCBvyF0e+UX96QRPjd/aW IaylRcr8/w0PgH8fslfQky8fe+5nOJdafl/+i9b9EErNGZLx3h95M8= 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:from:to:cc:subject:date:message-id; s=default; bh=34Gc6iKmFKOkNcJNJxbMM7JFHyg=; b=PcKO8yFSpv5x9/vmRvIKyOm6caLu hXgJNCe7YE3B4VtnvjnU0RIhosPDfcjOIef0I38A27H6ZqrleRhi9L9Muz5V0sK5 01l6+ljM3kJciX8L52yxVa/5UZsffWPwa7HaA1NZ+5cBzJ/jPQxprug2DrzumYBM JZ/rEn/F5F5iMeg= Received: (qmail 6045 invoked by alias); 19 Jul 2014 03:23:21 -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 5997 invoked by uid 89); 19 Jul 2014 03:23:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qa0-f52.google.com Received: from mail-qa0-f52.google.com (HELO mail-qa0-f52.google.com) (209.85.216.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 19 Jul 2014 03:23:19 +0000 Received: by mail-qa0-f52.google.com with SMTP id j15so3580534qaq.39 for ; Fri, 18 Jul 2014 20:23:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=YJd3AyUvt37LX9foiysWp81i8eX3RiF93pFgBpZ+wTc=; b=AW1thWXP5Ae5didsKc4PwjoZI2LqeKYtg9kHiYW3v49MK1wI82gCDZebBGDx7RA/sM paHY0az6N5RAo5A76mNvAS0QkqjhkVHBXNhWNwLPlXJwG5P6pPlXcvP/4NWALCDQsCyT NQJqTBvb/w8cPkDmp8CDtUkpUoNJRP7u7g2vMZZarMSmyqfabyvyn2sH2iRgS5aBGHF0 7f6CNLpLrh7HHdyxeZpfIMjbWfbUbZK+3UAGJVExPATUuxzuL5CAMAAHBYWTHP4r06qz 7PVVMLg7wA64+zT97ZabtdJaylMdc7I8+vnuz7mC+2qYQymM77mgrp1LeZGZ8QzOnORP AR+w== X-Gm-Message-State: ALoCoQlkMhftVZ/sHlUjz+bTeM8mmh/BA39+iBoVl0q5/mtI6FLR9tIGel0mNf0GKuYRb5uNV7Jt X-Received: by 10.224.124.199 with SMTP id v7mr15049218qar.33.1405740196898; Fri, 18 Jul 2014 20:23:16 -0700 (PDT) Received: from localhost (c-73-38-182-133.hsd1.ma.comcast.net. [73.38.182.133]) by mx.google.com with ESMTPSA id d3sm13089686qad.43.2014.07.18.20.23.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jul 2014 20:23:15 -0700 (PDT) From: Cody P Schafer To: crossgcc@sourceware.org Cc: Cody P Schafer Subject: [PATCH] cc/gcc: avoid passing --enable-multilib Date: Fri, 18 Jul 2014 23:23:11 -0400 Message-Id: <1405740191-12268-1-git-send-email-dev@codyps.com> This is one I missed in the last patch (it was mixed with a different local patch) Signed-off-by: Cody P Schafer --- scripts/build/cc/gcc.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 8a428a2..173ddbf 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -829,9 +829,10 @@ do_cc_backend() { extra_config+=("--with-system-zlib") fi - if [ "${CT_MULTILIB}" = "y" ]; then - extra_config+=("--enable-multilib") - else + + # Some versions of gcc have a deffective --enable-multilib. + # Since that's the default, only pass --disable-multilib. + if [ "${CT_MULTILIB}" != "y" ]; then extra_config+=("--disable-multilib") fi