mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
cc9397435f
commit
1e845c78c7
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -2812,7 +2812,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
EOF
|
||||
if ! compile_prog "" "" ; then
|
||||
CFLAGS+="-march=i486"
|
||||
CFLAGS="-march=i486 $CFLAGS"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue