r11864 - packages/trunk/alex4/debian
Peter Pentchev
roam-guest at alioth.debian.org
Wed Mar 9 20:04:33 UTC 2011
Author: roam-guest
Date: 2011-03-09 20:04:31 +0000 (Wed, 09 Mar 2011)
New Revision: 11864
Modified:
packages/trunk/alex4/debian/changelog
packages/trunk/alex4/debian/rules
Log:
Build with -Werror if "werror" is in DEB_BUILD_OPTIONS.
Modified: packages/trunk/alex4/debian/changelog
===================================================================
--- packages/trunk/alex4/debian/changelog 2011-03-09 20:04:23 UTC (rev 11863)
+++ packages/trunk/alex4/debian/changelog 2011-03-09 20:04:31 UTC (rev 11864)
@@ -21,6 +21,7 @@
and LDFLAGS.
* Convert the copyright file to the DEP 5 candidate format.
* Convert all patch file headers to the DEP 3 format.
+ * Build with -Werror if the non-standard "werror" build option is set.
-- Peter Pentchev <roam at ringlet.net> Wed, 09 Mar 2011 14:14:04 +0200
Modified: packages/trunk/alex4/debian/rules
===================================================================
--- packages/trunk/alex4/debian/rules 2011-03-09 20:04:23 UTC (rev 11863)
+++ packages/trunk/alex4/debian/rules 2011-03-09 20:04:31 UTC (rev 11864)
@@ -8,6 +8,9 @@
LDFLAGS:= $(shell dpkg-buildflags --get LDFLAGS)
CFLAGS+= -Wall
+ifneq (,$(filter werror,$(DEB_BUILD_OPTIONS)))
+ CFLAGS+= -Werror
+endif
export CPPFLAGS CFLAGS LDFLAGS
More information about the Pkg-games-commits
mailing list