From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Stefan Weil Date: Sun, 15 Jul 2012 20:34:31 +0200 Message-Id: <1342377272-32511-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH 1/2] configure: Replace bash code by standard shell code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Stefan Weil , qemu-devel@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 -- 1.7.0.4