From patchwork Sun Jul 15 18:34:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 171081 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A655F2C00DC for ; Mon, 16 Jul 2012 04:34:46 +1000 (EST) Received: from localhost ([::1]:43797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqTeW-0004iK-HT for incoming@patchwork.ozlabs.org; Sun, 15 Jul 2012 14:34:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqTeO-0004iA-Ei for qemu-devel@nongnu.org; Sun, 15 Jul 2012 14:34:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqTeN-0005SA-F9 for qemu-devel@nongnu.org; Sun, 15 Jul 2012 14:34:36 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:46114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqTeN-0005S0-8m for qemu-devel@nongnu.org; Sun, 15 Jul 2012 14:34:35 -0400 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id B672E728001A; Sun, 15 Jul 2012 20:34:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at weilnetz.de Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mZaD7GMqHcP2; Sun, 15 Jul 2012 20:34:33 +0200 (CEST) Received: by v220110690675601.yourvserver.net (Postfix, from userid 1000) id 2EBD072800C1; Sun, 15 Jul 2012 20:34:33 +0200 (CEST) From: Stefan Weil To: Blue Swirl Date: Sun, 15 Jul 2012 20:34:31 +0200 Message-Id: <1342377272-32511-1-git-send-email-sw@weilnetz.de> X-Mailer: git-send-email 1.7.10 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 78.47.199.172 Cc: Stefan Weil , qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH 1/2] configure: Replace bash code by standard shell code X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org "+=" 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. Signed-off-by: Stefan Weil --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 12351f5..0269ba0 100755 --- a/configure +++ b/configure @@ -2822,7 +2822,7 @@ int main(int argc, char **argv) } EOF if ! compile_prog "" "" ; then - CFLAGS+="-march=i486" + CFLAGS="-march=i486 $CFLAGS" fi fi