From patchwork Tue May 21 06:28:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gibson X-Patchwork-Id: 164686 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp1220380ili; Mon, 20 May 2019 23:30:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfPoR7eZbpTlcywB6+5KbniR7wJ6v9GLYZPF0xiEWvi6ANsYITguLk676Nu6PF3BfySUcK X-Received: by 2002:a50:b614:: with SMTP id b20mr79791602ede.66.1558420215731; Mon, 20 May 2019 23:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558420215; cv=none; d=google.com; s=arc-20160816; b=Q/36ownmbX/Y2vn3lUNSHyCCz+5oUTPwaL8bF1XBnRZV5fH3n7iOGz8dQ4bWtR5DD+ 3G0icv/fvKobnJNeGMKeh7bcPkv8+Fl3EAmBQ03boWpsznx4qeCt2fiosHslfsUMMZUo PvviG8QniemtVFwbOxus2+3HlPe4BfAXfxFuvnDzyxOqY6nMYXDcHmXL45HuPzQcZHfZ D33+EJah9GkGP65CcnLjGOM1Ae1bCXYI7mZUOdyx+/Pg0A1RteD8sn12aqa+UkJdpYH1 N6yGyepBp/RGNGrM8MpCOv5XOTREpCYvdB4WPWK2VlB6Uz03zKnMWO6tavr/j4R8YiuI OFSQ== 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=Hc1/nnHIaV70dc9xPhmRYg8g+XIA8n1WZeQvlaCiEB4=; b=M+25tj3CnzhuRCzSvN79K5wSSeH6rn9fRaKj7DPqH8+5ZKXpdcGWlHrNYQoDXStlzV CSRFJl7UwyVaKmA2YpO5MK8YUVXJu9/2pWJk8awb7fjjzlw/VGhApKe1Mk7gqfeeCdBl cHWzC7hSgOXVx6nM2qNwdO2wVvMQBSjfY3pINb1wQ+67e1M3DcxASmhAA695zYYfzI+V CtyYsliVf06mdWQale9hUuUezJKj23FEtsyMnkPZfgTOhRknRDJ5xXAVWn1VF+BLkC5C mRl4ac75DCi2RZ+ArhShsPivDo94Pogm0BkMlLHxyOFJKhzHVC7xJSUsUe3Nf2UB+YHU vVoA== 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=NQHUsCSM; 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 a45si11568664eda.161.2019.05.20.23.30.15 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 20 May 2019 23:30:15 -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=NQHUsCSM; 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]:47261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSyHu-0005sn-JM for patch@linaro.org; Tue, 21 May 2019 02:30:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSyHS-0005s7-RD for qemu-devel@nongnu.org; Tue, 21 May 2019 02:29:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSyHR-0007hH-Me for qemu-devel@nongnu.org; Tue, 21 May 2019 02:29:46 -0400 Received: from ozlabs.org ([2401:3900:2:1::2]:37915) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hSyHQ-0007UP-HU; Tue, 21 May 2019 02:29:45 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 457Qpd6fLhz9s5c; Tue, 21 May 2019 16:29:29 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1558420169; bh=RiYF6y127JDdRmGpDivNEvRY1BoNuZWjbpiaLNBb2Kk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NQHUsCSM8zVwEP6WhJGrWhOF4g9f19lGRJA289Mkb6x/VRh1MgWOWFLANmAm/aT+t cZ4prqkHckdrWz5cGVJGXzqlIayU09IxMsNfJC9b8Naqsk9ZWXe+uGoHMWJMJkWCvu dh0Luh1fyOA5jHVBUuAw/6uTg3kw2lFceAuuYz2s= From: David Gibson To: peter.maydell@linaro.org Date: Tue, 21 May 2019 16:28:49 +1000 Message-Id: <20190521062924.6930-4-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190521062924.6930-1-david@gibson.dropbear.id.au> References: <20190521062924.6930-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/38] 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, gkurz@kaod.org, Richard Henderson , qemu-devel@nongnu.org, qemu-ppc@nongnu.org, clg@kaod.org, David Gibson 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 69402f18b8..d0050f9afc 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