summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Färber2013-01-27 16:16:19 +0100
committerAnthony Liguori2013-02-01 17:43:20 +0100
commit6c8fec8372147a561f5b721d3a5180b73d7ce4cb (patch)
tree3b4b1916bffb6cb397972d3e060288c3752a1f1d
parentRevert "e1000: no need auto-negotiation if link was down" (diff)
downloadqemu-6c8fec8372147a561f5b721d3a5180b73d7ce4cb.tar.gz
qemu-6c8fec8372147a561f5b721d3a5180b73d7ce4cb.tar.xz
qemu-6c8fec8372147a561f5b721d3a5180b73d7ce4cb.zip
configure: Keep -Werror enabled for Release Candidates
The automatic drop of -Werror during the RC phases has in the past led to warnings creeping into submaintainer trees. Last QEMU Summit it was concluded that -Werror should stay on and enabled only as part of the release process. To relieve our release manager, instead of always enabling -Werror or doing some number magic, let's enable it depending on whether a .git/ directory exists in the source tree. Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index b7635e4fec..0657b1a1b5 100755
--- a/configure
+++ b/configure
@@ -1180,7 +1180,7 @@ fi
z_version=`cut -f3 -d. $source_path/VERSION`
if test -z "$werror" ; then
- if test "$z_version" = "50" -a \
+ if test -d "$source_path/.git" -a \
"$linux" = "yes" ; then
werror="yes"
else