Message ID | 20180615194705.28019-5-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1265072lji; Fri, 15 Jun 2018 13:06:48 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIndQWsHslKHwoDEkWxQUxDKb/Xr0KzAi3diaOPqo5WcKIlyUXTI+KU1U+wJ7ZcZl6ktIeT X-Received: by 2002:ac8:2506:: with SMTP id 6-v6mr2994760qtm.9.1529093208792; Fri, 15 Jun 2018 13:06:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529093208; cv=none; d=google.com; s=arc-20160816; b=kDuQpOOtvE3TM09uAV/+mRSxmqhFu59kmC1nTx3c8DdxtyQ/YMD98OXmHh8ysLFNeh EX2mromrk2y8LKS3zPqpRagu3+IMOPh9IAq5APnBvUv2prtG9umPbRVieWuOxD0m809h NoLVBb6wyMzj2WnxuASqV7YPqF/v9vTccGDqTfMDEOuyIfdie4XmHS5sxL0MDnFKOO/A 5oCbQPiVZRBA4lydm3r/DvU4L/OOxbf2eq/XeWsC4VuVjIpLavAHXISmmMZnYHPFEFo1 DFqZOXup78Q4Pi7ppeA61ZLKtNvcljn0u432am8e5Ayj+7N6x5sNmAdUrhwEw7jcWLRn ZVFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=Wzc5uehByQFb6BpNzR0wknilb9suEHGpc/yA1g9BUTo=; b=Gfw+Im6NBrIKB+AWFysVhl71TBSoUQyWKfS9lzxTEEk3T/dUma6j/XY/dc0P+LW+i0 fItqINlI9uu2LmoAfv1FUsFkRLUpb3GoPOFZTDFvlqq5byE+Il/6d222Qs4bMhirBdI4 kjldwH0hWxhhHJd+YPN6852YcwPwZx/iDzpHHXzDa09GGFuEc6IvXhOccoEBhVi4JqIN M1nIVeGkledgPAaUk8lw6UszaMzBilFcSCo3LLapQezxSDTDgH/hp8XqQGsIzpHGa69N yWlzLR3E/S5hvzOuu/VeGd0pIwzb3MIGwsx3HeE39YXgDigv6BXIDG4oZa1uHzf1zAUs wsjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ORaU+XSK; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id o34-v6si7561836qve.171.2018.06.15.13.06.48 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 15 Jun 2018 13:06:48 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ORaU+XSK; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:49080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fTuzg-0001hN-8J for patch@linaro.org; Fri, 15 Jun 2018 16:06:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fTugj-0002UZ-DB for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:47:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fTugh-0005FU-Em for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:47:13 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:35164) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fTugh-0005Ec-8h for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:47:11 -0400 Received: by mail-wm0-x234.google.com with SMTP id j15-v6so5761448wme.0 for <qemu-devel@nongnu.org>; Fri, 15 Jun 2018 12:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Wzc5uehByQFb6BpNzR0wknilb9suEHGpc/yA1g9BUTo=; b=ORaU+XSK1WPVevTVhePAdYD+iJJvD9MnHjJ74RywPeN4f73YGcmvhFtr3qkkrj6Dry DQdrOVoCqkFq7oCDTgtHundwwJ93eraZG/BToJmNipLR7MixXYJ7uGdoGTpli8x4WuIk hklqdyjNecGZqnydA1heP+w7nLEqbETMJ+Az8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Wzc5uehByQFb6BpNzR0wknilb9suEHGpc/yA1g9BUTo=; b=mJZoPlw2RDAzf3Vrv+t0SYdqoML+V3JvtaRlZ82dsG0heeqzELJWtX+u0MgFgqjkPU byfxyHP5AbPkujijz21a3ckHAyzMJ2dtZuW5gZrXlUVHgIxD4jA2Iuc59hmSg4qo5eA9 mqbAfqwyPNWUGd4QDCOZhs/yT7oI9DnPqpYoIX+nGSRNFXYqFi5OIUz2ku1PwKcQFRcp yHvNpALW2xowpIZdZRaXvhNagwUy1RRQHqO2WnU9lP2XXyN/0CWLveCIKQLlfto/BTi3 fwuaMZWDbCYJ/eJo50Pvk3k2x6aAbxFUa8ErZI84X8oH7WYrpqBh3sBcQ4yJ+WtD5oLE Opxw== X-Gm-Message-State: APt69E0WB1zC9spZvCEKl37Bt6q3eanZ0p+DBcAZyp1ao1xX01aITo6L KToEbQ8aaF4Ilw2AxShO8zHQNA== X-Received: by 2002:a1c:47cf:: with SMTP id m76-v6mr2156552wmi.80.1529092030014; Fri, 15 Jun 2018 12:47:10 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id n17-v6sm3355046wmd.14.2018.06.15.12.47.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 12:47:07 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id BF8EE3E050E; Fri, 15 Jun 2018 20:47:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, peter.maydell@linaro.org Date: Fri, 15 Jun 2018 20:46:15 +0100 Message-Id: <20180615194705.28019-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180615194705.28019-1-alex.bennee@linaro.org> References: <20180615194705.28019-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::234 Subject: [Qemu-devel] [PATCH v7 04/54] configure: set cross_cc_FOO for host compiler X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
fix building of tests/tcg - last chance to review!
|
expand
|
diff --git a/configure b/configure index b96017b423..069219e9ae 100755 --- a/configure +++ b/configure @@ -1431,26 +1431,38 @@ case "$cpu" in ppc) CPU_CFLAGS="-m32" LDFLAGS="-m32 $LDFLAGS" + cross_cc_powerpc=$cc + cross_cc_cflags_powerpc=$CPU_CFLAGS ;; ppc64) CPU_CFLAGS="-m64" LDFLAGS="-m64 $LDFLAGS" + cross_cc_ppc64=$cc + cross_cc_cflags_ppc64=$CPU_CFLAGS ;; sparc) CPU_CFLAGS="-m32 -mv8plus -mcpu=ultrasparc" LDFLAGS="-m32 -mv8plus $LDFLAGS" + cross_cc_sparc=$cc + cross_cc_cflags_sparc=$CPU_CFLAGS ;; sparc64) CPU_CFLAGS="-m64 -mcpu=ultrasparc" LDFLAGS="-m64 $LDFLAGS" + cross_cc_sparc64=$cc + cross_cc_cflags_sparc64=$CPU_CFLAGS ;; s390) CPU_CFLAGS="-m31" LDFLAGS="-m31 $LDFLAGS" + cross_cc_s390=$cc + cross_cc_cflags_s390=$CPU_CFLAGS ;; s390x) CPU_CFLAGS="-m64" LDFLAGS="-m64 $LDFLAGS" + cross_cc_s390x=$cc + cross_cc_cflags_s390x=$CPU_CFLAGS ;; i386) CPU_CFLAGS="-m32" @@ -1471,7 +1483,7 @@ case "$cpu" in CPU_CFLAGS="-mx32" LDFLAGS="-mx32 $LDFLAGS" cross_cc_i386=$cc - cross_cc_cflags_i386="-m32" + cross_cc_cflags_i386=$CPU_CFLAGS ;; # No special flags required for other host CPUs esac