Message ID | 1433321798-13398-1-git-send-email-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDJONKHTZ4PRBX4CXOVQKGQEEC2GLOQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 17A0A20DDC for <linaro@patches.linaro.org>; Wed, 3 Jun 2015 08:57:04 +0000 (UTC) Received: by wgez8 with SMTP id z8sf965108wge.2 for <linaro@patches.linaro.org>; Wed, 03 Jun 2015 01:57:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id :mime-version:content-type:content-transfer-encoding:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=t8dM/4FFSCJjy13XW1Dhzu0fwtS5CrTUeurPjbYxEPo=; b=DZHrU9oe7K7neiIMYMUrTA4r4NWWr77Y5hC77wPqNTqJSXEWZv1UicrduVMAQQYlb1 AX1jbTZj9zsN8LowcLPL0O5MBVmIRgUEJm4yu7j11epzeu1+TBtcmdep0l85Yx+jfRH7 a7bVoP41F0oAianKNogL4jdIUTsjOQMl1nNpQFPTPRO5v/uZIHKKawh3csBhg+IIG7p2 5a3v78TbDD6h1Mw0oO/LyBn9+vFEGxGmVxBa+9of+sxtDmMpG/5tgR+Iqifq/uaACPyq jLGpVz1TB91h/JMK7OAzbCkliuDFVQtbozdggArE4oCBDZWt1xu8ij5qJ/dkhp7k7TXn QeTw== X-Gm-Message-State: ALoCoQl85cAPAd0dKLP9MMo+uRo677VXYASZrCTIvFo4QToFtxayWMGVHq6eJSryplTeq/1FQ/ct X-Received: by 10.112.55.104 with SMTP id r8mr30015614lbp.18.1433321823374; Wed, 03 Jun 2015 01:57:03 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.178.164 with SMTP id cz4ls18508lac.3.gmail; Wed, 03 Jun 2015 01:57:03 -0700 (PDT) X-Received: by 10.152.205.33 with SMTP id ld1mr20777099lac.75.1433321823230; Wed, 03 Jun 2015 01:57:03 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id ug6si17479011lbc.132.2015.06.03.01.57.02 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jun 2015 01:57:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by labko7 with SMTP id ko7so2817580lab.2 for <patchwork-forward@linaro.org>; Wed, 03 Jun 2015 01:57:02 -0700 (PDT) X-Received: by 10.152.206.75 with SMTP id lm11mr21163462lac.41.1433321822814; Wed, 03 Jun 2015 01:57:02 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp3702580lbb; Wed, 3 Jun 2015 01:57:01 -0700 (PDT) X-Received: by 10.140.19.203 with SMTP id 69mr3611541qgh.3.1433321821231; Wed, 03 Jun 2015 01:57:01 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id d95si18619971qkh.119.2015.06.03.01.57.00 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 03 Jun 2015 01:57:01 -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; Received: from localhost ([::1]:34074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1Z04Ts-0001Hx-A8 for patch@linaro.org; Wed, 03 Jun 2015 04:57:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1Z04TS-0000up-Og for qemu-devel@nongnu.org; Wed, 03 Jun 2015 04:56:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1Z04TR-0001Zl-Qx for qemu-devel@nongnu.org; Wed, 03 Jun 2015 04:56:34 -0400 Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:35633 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1Z04TN-0001EO-LE; Wed, 03 Jun 2015 04:56:29 -0400 Received: from localhost ([127.0.0.1] helo=zen.linaroharston) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from <alex.bennee@linaro.org>) id 1Z05oq-0001VY-8u; Wed, 03 Jun 2015 12:22:44 +0200 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-trivial@nongnu.org Date: Wed, 3 Jun 2015 09:56:37 +0100 Message-Id: <1433321798-13398-1-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.4.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: alex.bennee@linaro.org X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.198.71.155 Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH] configure: postfix --extra-cflags to QEMU_CFLAGS X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: alex.bennee@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
Michael Tokarev <mjt@tls.msk.ru> writes: > Applied to -trivial, thanks! > > The other nearby case, --extra-ldflags, also wants this reordering :) sent One day I'll find a use for such a thing but fortunately my default build environment has everything I need ;-) > > /mjt
diff --git a/configure b/configure index b707429..f13831a 100755 --- a/configure +++ b/configure @@ -353,7 +353,7 @@ for opt do ;; --cpu=*) cpu="$optarg" ;; - --extra-cflags=*) QEMU_CFLAGS="$optarg $QEMU_CFLAGS" + --extra-cflags=*) QEMU_CFLAGS="$QEMU_CFLAGS $optarg" EXTRA_CFLAGS="$optarg" ;; --extra-ldflags=*) LDFLAGS="$optarg $LDFLAGS"
It makes sense that extra-cflags should be appended after the normal CFLAGS so they don't get overridden by default behaviour. This way if you specify something like: ./configure --extra-cflags="-O0" You will see the requested behaviour. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)