[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xterm: Changes to 'debian-unstable'



 debian/changelog |    3 ++-
 debian/rules     |    7 ++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

New commits:
commit 75d93cbee465675802ec3c4a663f842eeaf65b97
Author: Julien Cristau <jcristau@debian.org>
Date:   Mon Aug 13 12:14:35 2007 +0200

    Build with -Wall.

diff --git a/debian/changelog b/debian/changelog
index c2f0bfc..62fb191 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,8 +7,9 @@ xterm (229-1) UNRELEASED; urgency=low
   * Stop installing the .desktop files and adapt xterm.menu to the new menu
     structure.
   * Use a separate build dir.
+  * Build with -Wall.
 
- -- Julien Cristau <jcristau@debian.org>  Mon, 13 Aug 2007 12:00:25 +0200
+ -- Julien Cristau <jcristau@debian.org>  Mon, 13 Aug 2007 12:14:20 +0200
 
 xterm (228-1) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 91fcad8..8be729f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,10 +25,11 @@ else
 	confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
 endif
 
+CFLAGS = -g -Wall
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CXXFLAGS += -O0
+	CFLAGS += -O0
 else
-	CXXFLAGS += -O2
+	CFLAGS += -O2
 endif
 
 # Figure out who's building this package.
@@ -105,7 +106,7 @@ $(STAMP_DIR)/configure: $(STAMP_DIR)/patch
 		--prefix=/usr --exec-prefix=/usr --mandir=/usr/share/man \
 		--with-app-defaults=/etc/X11/app-defaults \
 		--disable-imake --enable-narrowproto --enable-exec-xterm \
-		$(confflags) DESKTOP_FLAGS="$(DESKTOP_FLAGS)"
+		$(confflags) DESKTOP_FLAGS="$(DESKTOP_FLAGS)" CFLAGS="$(CFLAGS)"
 	touch $@
 
 



Reply to: