diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-10-14 11:19:04 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-20 20:52:43 +0000 |
commit | 1e027be7e91d854d7a0132e4a32bdf222c33dcfe (patch) | |
tree | a0576f91a538d2b20c0776c2cb64dc645d79ae29 | |
parent | c3b08d0e05f381b0a02647038d454eecf51ae014 (diff) |
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>
-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 |