diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-07-18 15:10:21 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-07-31 20:05:38 +0000 |
commit | 1e845c78c7f1e121b3ce55bc34739f1c7aa2bf68 (patch) | |
tree | dd0c8467af3f13b2915a75ee22dde4e0c6bac3c6 /configure | |
parent | cc9397435f725b1fc23b96c98e3642e23419a274 (diff) | |
download | qemu-1e845c78c7f1e121b3ce55bc34739f1c7aa2bf68.zip qemu-1e845c78c7f1e121b3ce55bc34739f1c7aa2bf68.tar.gz qemu-1e845c78c7f1e121b3ce55bc34739f1c7aa2bf68.tar.bz2 |
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 <olaf@aepfle.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2812,7 +2812,7 @@ int main(int argc, char **argv) } EOF if ! compile_prog "" "" ; then - CFLAGS+="-march=i486" + CFLAGS="-march=i486 $CFLAGS" fi fi |