diff options
author | Markus Armbruster | 2010-10-14 11:19:04 +0200 |
---|---|---|
committer | Blue Swirl | 2010-10-20 22:52:43 +0200 |
commit | 1e027be7e91d854d7a0132e4a32bdf222c33dcfe (patch) | |
tree | a0576f91a538d2b20c0776c2cb64dc645d79ae29 /configure | |
parent | tcg: Fix compiler error (comparison of unsigned expression) (diff) | |
download | qemu-1e027be7e91d854d7a0132e4a32bdf222c33dcfe.tar.gz qemu-1e027be7e91d854d7a0132e4a32bdf222c33dcfe.tar.xz qemu-1e027be7e91d854d7a0132e4a32bdf222c33dcfe.zip |
configure: Support disabling warnings in $gcc_flags
-Wall enables a bunch of warnings at once. configure puts it after
$gcc_flags. This makes it impossible to disable warnings enabled by
-Wall there. Fix by putting configured flags last.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |