From patchwork Wed Jul 18 14:10:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 10115 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 26DDE23E56 for ; Wed, 18 Jul 2012 14:10:37 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id DF6B3A180BC for ; Wed, 18 Jul 2012 14:10:36 +0000 (UTC) Received: by ghbz12 with SMTP id z12so1720467ghb.11 for ; Wed, 18 Jul 2012 07:10:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=uGJO0HyKyS7TlCqROmd0+dHbRyZK5p183FpxRaeM+GU=; b=ld+tMxZpDwpHT0uszphJEZfYKUombmA4I3qY2n+BBFX5l8r7WtBvWkE+2oMHzI1i8m aUYsw0DNfZbnVXb+CteG1GIVugzRC2+d7PFOsi4JieeQYBPM89bNIbzJVtRoXKMyRzPV GO7ul0nUQjkmxTiivFoWT2cW2ZRxj887ygm5sXTw/6fs/FZ+PhpVDYGlhsslzn1yOg8Q wK5AY7jAa/JNtj9Vddn8y/CzB8KU1ENYldOh31xpE4cGkiR++fTPVY3Do9ykF9pwwVaa uPHddkknYUK7ldyDNOm0uAIYMk6Q2toxIX1hUCz1yoW2XZYBA0UTxAQcDiH5mQ1DCLwb DwzQ== Received: by 10.50.57.167 with SMTP id j7mr2087097igq.53.1342620635898; Wed, 18 Jul 2012 07:10:35 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.153.7 with SMTP id i7csp246ibw; Wed, 18 Jul 2012 07:10:35 -0700 (PDT) Received: by 10.68.225.231 with SMTP id rn7mr8536366pbc.13.1342620634969; Wed, 18 Jul 2012 07:10:34 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id ky6si25611689pbc.18.2012.07.18.07.10.32 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jul 2012 07:10:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1SrUxQ-0003KE-FR; Wed, 18 Jul 2012 15:10:28 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Stefan Weil Subject: [PATCH 04/11] configure: Replace bash code by standard shell code Date: Wed, 18 Jul 2012 15:10:21 +0100 Message-Id: <1342620628-12751-5-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1342620628-12751-1-git-send-email-peter.maydell@linaro.org> References: <1342620628-12751-1-git-send-email-peter.maydell@linaro.org> X-Gm-Message-State: ALoCoQkIWUw64yyfxm6u2QmtaNqw7YH+u2rAXtlNcSiiGM3rf+2HtSpzE3QvEx1H2kyTL4x956gL From: Stefan Weil "+=" does not work with dash and other simple /bin/sh implementations. The new code prepends the flag while the old code either did not work (it continued after an error message which typically was not read) or appended the flag. That difference should not matter here. Reported-by: Olaf Hering Signed-off-by: Stefan Weil Reviewed-by: Peter Maydell --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index feadbe7..f54415d 100755 --- a/configure +++ b/configure @@ -2810,7 +2810,7 @@ int main(int argc, char **argv) } EOF if ! compile_prog "" "" ; then - CFLAGS+="-march=i486" + CFLAGS="-march=i486 $CFLAGS" fi fi