diff --git a/configure b/configure index a079a494a48096c51877396eb35405d9f45f1927..5f4d7180b5a91e8eaa287e82b2f075652e818f48 100755 --- a/configure +++ b/configure @@ -154,7 +154,7 @@ int main(void) { return 0; } EOF for flag in $gcc_flags; do if compile_prog "-Werror $QEMU_CFLAGS" "-Werror $flag" ; then - QEMU_CFLAGS="$flag $QEMU_CFLAGS" + QEMU_CFLAGS="$QEMU_CFLAGS $flag" fi done