]> Git Repo - qemu.git/commit - configure
configure: add -Werror to QEMU_CFLAGS early
authorAlexander Graf <[email protected]>
Mon, 9 Jul 2012 12:38:08 +0000 (14:38 +0200)
committerBlue Swirl <[email protected]>
Sat, 14 Jul 2012 10:48:03 +0000 (10:48 +0000)
commit417c9d72d48275d19c60861896efd4962d21aca2
treea6ad786ef8cb9abdb418625a1dbb61be47f2584e
parent66f27e63ae3d91876d348e38fb5af4b48ae6b8fb
configure: add -Werror to QEMU_CFLAGS early

We want all configure tests pass with -Werror if it is enabled. So we
need to update QEMU_CFLAGS early on to make sure we also pass it in to
all the compile test jobs.

This fixes a warning-became-error bug in nss for me with the default
configuration:

In file included from /usr/include/nss3/pkcs11t.h:1780,
                 from /usr/include/nss3/keythi.h:41,
                 from /usr/include/nss3/keyt.h:41,
                 from /usr/include/nss3/pk11pub.h:43,
                 from libcacard/vcard_emul_nss.c:21:
/usr/include/nss3/pkcs11n.h:365:26: error: "__GNUC_MINOR" is not defined

Signed-off-by: Alexander Graf <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
configure
This page took 0.02441 seconds and 4 git commands to generate.