[tecnoballz] 33/56: Do not build with -Werror by default, only if "werror" is specified.

Markus Koschany apo-guest at moszumanska.debian.org
Fri Jan 30 12:12:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository tecnoballz.

commit 4e73741a8495caf492b2fd7b0c01410dcbc4b1ce
Author: Peter Pentchev <roam at ringlet.net>
Date:   Mon May 2 13:10:51 2011 +0000

    Do not build with -Werror by default, only if "werror" is specified.
    
    Suggested by:	pabs, goneri
---
 debian/changelog | 8 ++++++++
 debian/rules     | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index bdf37e6..5e2d10f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tecnoballz (0.92-5) UNRELEASED; urgency=low
+
+  * Team upload.
+  * Do not build with -Werror by default unless the "werror" build
+    option is specified.
+
+ -- Peter Pentchev <roam at ringlet.net>  Fri, 29 Apr 2011 16:55:45 +0300
+
 tecnoballz (0.92-4) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 03d77bc..ddc1351 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
 # Warnings
 CXXFLAGS += -Wall -fno-strict-aliasing
 
-ifeq (,$(filter nowerror,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter werror,$(DEB_BUILD_OPTIONS)))
 	CXXFLAGS+=	-Werror
 endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/tecnoballz.git



More information about the Pkg-games-commits mailing list