From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrUxg-0006r5-SA for qemu-devel@nongnu.org; Wed, 18 Jul 2012 10:10:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrUxY-0006Nk-AF for qemu-devel@nongnu.org; Wed, 18 Jul 2012 10:10:44 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:53934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrUxY-0006N5-3h for qemu-devel@nongnu.org; Wed, 18 Jul 2012 10:10:36 -0400 From: Peter Maydell Date: Wed, 18 Jul 2012 15:10:21 +0100 Message-Id: <1342620628-12751-5-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1342620628-12751-1-git-send-email-peter.maydell@linaro.org> References: <1342620628-12751-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 04/11] configure: Replace bash code by standard shell code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Weil , patches@linaro.org 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 -- 1.7.5.4