From 1e845c78c7f1e121b3ce55bc34739f1c7aa2bf68 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 18 Jul 2012 15:10:21 +0100 Subject: configure: Replace bash code by standard shell code "+=" 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 Signed-off-by: Blue Swirl --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index ec95819..f74bf0f 100755 --- a/configure +++ b/configure @@ -2812,7 +2812,7 @@ int main(int argc, char **argv) } EOF if ! compile_prog "" "" ; then - CFLAGS+="-march=i486" + CFLAGS="-march=i486 $CFLAGS" fi fi -- cgit v1.1