summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMarkus Armbruster2010-10-14 11:19:04 +0200
committerBlue Swirl2010-10-20 22:52:43 +0200
commit1e027be7e91d854d7a0132e4a32bdf222c33dcfe (patch)
treea0576f91a538d2b20c0776c2cb64dc645d79ae29 /configure
parenttcg: Fix compiler error (comparison of unsigned expression) (diff)
downloadqemu-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-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a079a494a4..5f4d7180b5 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