--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: xterm: does not honor DEB_BUILD_OPTIONS=noopt
- From: "Bernhard R. Link" <brlink@debian.org>
- Date: Sun, 22 Apr 2007 15:43:04 +0200
- Message-id: <20070422134304.GA24113@pcpool00.mathematik.uni-freiburg.de>
Package: xterm
Version: 225-1
Severity: normal
Attached patch changes debian/rules to honor DEB_NUILD_OPTIONS
as recommended by policy 10.1.
Hochachtungsvoll,
Bernhard R. Link
diff -r -u o/xterm-225/debian/rules xterm-225/debian/rules
--- o/xterm-225/debian/rules 2007-04-22 15:33:53.000000000 +0200
+++ xterm-225/debian/rules 2007-04-22 15:31:23.000000000 +0200
@@ -20,10 +20,11 @@
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
+CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CXXFLAGS += -O0
+ CFLAGS += -O0
else
- CXXFLAGS += -O2
+ CFLAGS += -O2
endif
# Figure out who's building this package.
@@ -90,7 +91,7 @@
--prefix=/usr --exec-prefix=/usr --mandir=/usr/share/man \
--with-app-defaults=/etc/X11/app-defaults \
--disable-imake --enable-narrowproto --enable-exec-xterm \
- $(confflags)
+ $(confflags) CFLAGS="$(CFLAGS)"
touch $@
--- End Message ---
--- Begin Message ---
- To: "Bernhard R. Link" <brlink@debian.org>, 420466-done@bugs.debian.org
- Subject: Re: Bug#420466: xterm: does not honor DEB_BUILD_OPTIONS=noopt
- From: Julien Cristau <jcristau@debian.org>
- Date: Thu, 3 Jan 2008 13:06:09 +0100
- Message-id: <20080103120608.GA14654@patate.is-a-geek.org>
- In-reply-to: <20070422134304.GA24113@pcpool00.mathematik.uni-freiburg.de>
- References: <20070422134304.GA24113@pcpool00.mathematik.uni-freiburg.de>
Version: 229-1
On Sun, Apr 22, 2007 at 15:43:04 +0200, Bernhard R. Link wrote:
> Package: xterm
> Version: 225-1
> Severity: normal
>
> Attached patch changes debian/rules to honor DEB_NUILD_OPTIONS
> as recommended by policy 10.1.
>
Thanks, this was fixed in xterm 229-1.
Cheers,
Julien
--- End Message ---