From: Stefan Weil Date: Wed, 18 Jul 2012 14:10:21 +0000 (+0100) Subject: configure: Replace bash code by standard shell code X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~3831 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e845c78c7f1e121b3ce55bc34739f1c7aa2bf68;p=sdk%2Femulator%2Fqemu.git 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 --- 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