Message ID | 20180608123307.24773-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-v6csp847844lji; Fri, 8 Jun 2018 06:04:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLSKyzrR9coCOqVOtHEUPHyhzqjYvmOUp5pXbQv8iI6j3FWtYE+060RQy4JYH0mKpE4f6cE X-Received: by 2002:a37:9285:: with SMTP id u127-v6mr5174249qkd.261.1528463052946; Fri, 08 Jun 2018 06:04:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528463052; cv=none; d=google.com; s=arc-20160816; b=vqT97LiHXg+cAx768rixO/DtcwPu9WIo4fl5k6Zo8KUM6o0inn9ZvMr1yzk84GeZdC OkE6/R2KPv5hkaJYWn8w9uNq5uk/LPG3EcZunhKsZwjI++QfjI8KJ5t49Fl5mN0ndifl sqUL6m+WpUfaS4G+UcJuCSd29/PyVzD8LCBH2t+89nUIxXKgFc4KH3J45+M0y0Ji273e MQWxXV4jvtVm7QYsQEnFb4g8XrxkxGfEGv8i8DJpXh3bnfZNbRmUQ05mqdKdreuuQpkV /uTCapG2fXSYk01mK+RdB9x0tZNDm66UI1muimXZUq0+qcx/3ZADetpFf9cCGF6dYuwr rMaw== 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=m78qURr3GMLdx7mubzdT4QHWcQU34YkVz0XxXj7SwU4=; b=G20vZ+3E2EJcWFL5/SqgSGvhyxGMpqG0g40mJ0eYeP+2NZdrG6kWbc+D/RAemSWh3y O2ArzdYBSIqh9/WVoBVXG08faGsDFICU/Vf8+LRaSEH7Dm/Pl7i4vYBfSekL22NgwpEy 2Wlsjyu6WWQ1i1BlvGXHgSsd76OR4JvJnD2+fcIDskuyREvyrybOL/4ts5togmkR1imb h0oM5QGsGhpSkbnnonXct4t/Cvq9uAahKckrQVAOhYZHWeLaK8kfXkYpaYgeTayEI3LV ZkSogrrPYUKHgF9Gmw4nsb86qvDib/VirGRl0iR9vsK/mbxcSUIPCPcgb5Ol4iH/hCq0 rspw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Yjn0UtHb; 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 w27-v6si2762684qth.39.2018.06.08.06.04.12 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Jun 2018 06:04:12 -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=Yjn0UtHb; 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]:35530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fRH3q-0001jo-5H for patch@linaro.org; Fri, 08 Jun 2018 09:04:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fRGZt-00018B-KJ for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:33:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fRGZs-0006Aq-P4 for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:33:13 -0400 Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:33494) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fRGZs-0006AA-HT for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:33:12 -0400 Received: by mail-wr0-x22b.google.com with SMTP id k16-v6so13245318wro.0 for <qemu-devel@nongnu.org>; Fri, 08 Jun 2018 05:33:12 -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=m78qURr3GMLdx7mubzdT4QHWcQU34YkVz0XxXj7SwU4=; b=Yjn0UtHbgphpMwpwbLxjuvHVr3YSoS+g7xOssqEZ1KMokxI9rfQIZz+JyHDHJYYckU n5SJG4HVdq2BwUMQkCK0FQ/IqjUAlYMln/oYMabYTP8Y1HLjRbsT2Xp1RtcKhG0iuHeu 8wYYqSIXHzOUkaIhOUJCytLTUu89MOYIZKxcA= 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=m78qURr3GMLdx7mubzdT4QHWcQU34YkVz0XxXj7SwU4=; b=reqkcf6jCkl54EasSzlW6OWYOY7oHFDNbRZkO0qkSR1/vffjDBPkjBhqQ5/n5ndnXh veF4Pp2eMVzvSYasA9+2KUbaZ40h/s+OJBjT6iQv/PD9HvDuhdJr2OVrazbG8Q7h/NO2 6ba6xBVpEz30NKOspHSkL74C8p2aVeDwOeHX3xVQ59NidNOUUHp1GqNoP9BKmkdmzO1B IFqHJTw9L+oNEPDE2Rcnwz4gL27scNEafhqYHC42RJE/QM3/0kzyjtkiHNBuskoLoalb umQhKOXeBEEgejtWF3HNoitQ8bDodWAVm43k2Lsd7g4fIZVZdhanECD5dBPn6nrxCkVV nCSQ== X-Gm-Message-State: APt69E3seaa3e7XvtvjLlICVVkUkMDTaSVW1X3Akib3Wq9Pt9Qh2zbBn BQFJoN+5E8w/KPo62vZpj+ftyQ== X-Received: by 2002:adf:a645:: with SMTP id k63-v6mr5250302wrc.231.1528461191465; Fri, 08 Jun 2018 05:33:11 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 203-v6sm2443105wmp.23.2018.06.08.05.33.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 05:33:09 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 647913E029D; Fri, 8 Jun 2018 13:33:07 +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, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Fri, 8 Jun 2018 13:32:22 +0100 Message-Id: <20180608123307.24773-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608123307.24773-1-alex.bennee@linaro.org> References: <20180608123307.24773-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:c0c::22b Subject: [Qemu-devel] [PATCH v6 04/49] 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
|
expand
|
diff --git a/configure b/configure index 2d6e095196..b374868eab 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