From patchwork Wed May 29 06:49:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gibson X-Patchwork-Id: 165327 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp9488405ili; Wed, 29 May 2019 00:02:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwaqtWaqCplB7T/rwCYRoQHEGDEB58EmomvrV3zhhcGCQOIDSkSdXeXqHzkgytgvcurgHRv X-Received: by 2002:ae9:f20c:: with SMTP id m12mr14310889qkg.58.1559113343771; Wed, 29 May 2019 00:02:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559113343; cv=none; d=google.com; s=arc-20160816; b=Rky5nqZP7ACAZUw2LdGdZbVBspgLhwMm6BNRmapdlUNIHvxvHbfVb347TtL/CFCDuc 6bwwq8KPStkZU1QbQRHrEp9dmNl3duZm+z7JBEwJ2zYUWMQkZmLuXHnvXCXQDczLLH49 rKs5RwTq65fY/Y2Bi2z79OZxutiY12jSmxMaTnTu/k3c+KzJD1T5lUfh0LAyj7TBRsll Tce9yHeLn5/POU8MP7pH2mfxm7cIjgIMJqnOCU2Wn53yXyF4u/0Q/XLpLRi5Zj1cWA36 w2FnKNqtqqgevV6tASdtpWOLxoIrJOL7NrMNm27VrXHfUUixE7J/4guGUSnQnq+nLDaS WaKQ== 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; bh=Ib6eBsaAG0DWjx7CK/1LXGxc+lVTp1TGMJAVpYjChYw=; b=PZQISJVEE9bnSID00dogBGff4ZbjXQfPqtsVZJ2zDnWQUc3hKX9GV6f2RGxmsiPq8U 9zfw2OhQHmDsrYFsu8zvd8t/rTmV7qduuMkiejvuPQdLxV6g88u/FDSOtNR7kVdrXOtg E7+Vo+sFW7jjOn1gyXOCAqdC/Weng07k1c7nmH3e5NH5dBgwV8TDvfvg17UpxR+tbdMJ NpYWUviK4H68Z1KKf/ZfoSGk2OxER5up0Dh95fAu8rIIMHm9HODhC//lw3Y2xixfKQWu 8ilKe6ToQKks+ZkitF0IoWlBBHORgiGhtST1jleFfVm1+rav+rChk8MKwSNzbRC8acvi eOcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gibson.dropbear.id.au header.s=201602 header.b=CrO3yCLt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d53si1771785qvh.213.2019.05.29.00.02.23 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 29 May 2019 00:02:23 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gibson.dropbear.id.au header.s=201602 header.b=CrO3yCLt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([127.0.0.1]:48535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVsbP-0001xi-9f for patch@linaro.org; Wed, 29 May 2019 03:02:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVsPy-0008Cy-DA for qemu-devel@nongnu.org; Wed, 29 May 2019 02:50:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVsPx-0002WF-Am for qemu-devel@nongnu.org; Wed, 29 May 2019 02:50:34 -0400 Received: from bilbo.ozlabs.org ([2401:3900:2:1::2]:42957 helo=ozlabs.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVsPw-0002R5-Ur; Wed, 29 May 2019 02:50:33 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 45DLv14QZPz9s7h; Wed, 29 May 2019 16:50:21 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1559112621; bh=YaSN+iFW1Gh8YK/6ehrDfQFBGV1I3FwqdyUiVRfonrs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CrO3yCLt2PIl3kHY3adWzIAvsZ1/KaJE5ts5+BLOYRCehJTSrWJdo9yxmcoL68Jvm HQrfCGSe3DaUI1MDyn32LwAPQb91W0SRwMdUc+c3pq2QZNlFcl0xzp3DhkI5WmRYe8 ME5RIrbowbqgjSN4jF+V+8rJtJvy7FHQYkXFYfno= From: David Gibson To: peter.maydell@linaro.org Date: Wed, 29 May 2019 16:49:36 +1000 Message-Id: <20190529065017.15149-4-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190529065017.15149-1-david@gibson.dropbear.id.au> References: <20190529065017.15149-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2401:3900:2:1::2 Subject: [Qemu-devel] [PULL 03/44] configure: Use quotes around uses of $CPU_CFLAGS X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, Richard Henderson , qemu-devel@nongnu.org, groug@kaod.org, qemu-ppc@nongnu.org, clg@kaod.org, David Gibson , rth@twiddle.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson About half of the values to which CPU_CFLAGS is set have multiple space separated arguments. Signed-off-by: Richard Henderson Message-Id: <20190501223819.8584-3-richard.henderson@linaro.org> Signed-off-by: David Gibson --- configure | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.21.0 diff --git a/configure b/configure index 07eb2b3942..991fef51ee 100755 --- a/configure +++ b/configure @@ -1556,37 +1556,37 @@ case "$cpu" in CPU_CFLAGS="-m64" LDFLAGS="-m64 $LDFLAGS" cross_cc_ppc64=$cc - cross_cc_cflags_ppc64=$CPU_CFLAGS + 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 + 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 + cross_cc_cflags_sparc64="$CPU_CFLAGS" ;; s390) CPU_CFLAGS="-m31" LDFLAGS="-m31 $LDFLAGS" cross_cc_s390=$cc - cross_cc_cflags_s390=$CPU_CFLAGS + cross_cc_cflags_s390="$CPU_CFLAGS" ;; s390x) CPU_CFLAGS="-m64" LDFLAGS="-m64 $LDFLAGS" cross_cc_s390x=$cc - cross_cc_cflags_s390x=$CPU_CFLAGS + cross_cc_cflags_s390x="$CPU_CFLAGS" ;; i386) CPU_CFLAGS="-m32" LDFLAGS="-m32 $LDFLAGS" cross_cc_i386=$cc - cross_cc_cflags_i386=$CPU_CFLAGS + cross_cc_cflags_i386="$CPU_CFLAGS" ;; x86_64) # ??? Only extremely old AMD cpus do not have cmpxchg16b. @@ -1595,13 +1595,13 @@ case "$cpu" in CPU_CFLAGS="-m64 -mcx16" LDFLAGS="-m64 $LDFLAGS" cross_cc_x86_64=$cc - cross_cc_cflags_x86_64=$CPU_CFLAGS + cross_cc_cflags_x86_64="$CPU_CFLAGS" ;; x32) CPU_CFLAGS="-mx32" LDFLAGS="-mx32 $LDFLAGS" cross_cc_i386=$cc - cross_cc_cflags_i386=$CPU_CFLAGS + cross_cc_cflags_i386="$CPU_CFLAGS" ;; # No special flags required for other host CPUs esac