r9838 - in /desktop/experimental/gnome-python-desktop/debian:
changelog rules
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Thu Apr 12 16:25:41 UTC 2007
Author: lool
Date: Thu Apr 12 16:25:40 2007
New Revision: 9838
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=9838
Log:
* Honor CFLAGS we set in rules, doh!
* Set some sane default CFLAGS and honor noopt in DEB_BUILD_OPTIONS.
Modified:
desktop/experimental/gnome-python-desktop/debian/changelog
desktop/experimental/gnome-python-desktop/debian/rules
Modified: desktop/experimental/gnome-python-desktop/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-python-desktop/debian/changelog?rev=9838&op=diff
==============================================================================
--- desktop/experimental/gnome-python-desktop/debian/changelog (original)
+++ desktop/experimental/gnome-python-desktop/debian/changelog Thu Apr 12 16:25:40 2007
@@ -2,8 +2,10 @@
* Don't pass --host to configure when DEB_BUILD_GNU_TYPE equals
DEB_HOST_GNU_TYPE.
+ * Honor CFLAGS we set in rules, doh!
+ * Set some sane default CFLAGS and honor noopt in DEB_BUILD_OPTIONS.
- -- Loic Minier <lool at dooz.org> Thu, 29 Mar 2007 21:20:27 +0200
+ -- Loic Minier <lool at dooz.org> Thu, 12 Apr 2007 15:04:33 +0200
gnome-python-desktop (2.18.0-1) experimental; urgency=low
Modified: desktop/experimental/gnome-python-desktop/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-python-desktop/debian/rules?rev=9838&op=diff
==============================================================================
--- desktop/experimental/gnome-python-desktop/debian/rules (original)
+++ desktop/experimental/gnome-python-desktop/debian/rules Thu Apr 12 16:25:40 2007
@@ -8,6 +8,8 @@
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
# prevent accidental uploads to unstable
include /usr/share/gnome-pkg-tools/1/rules/check-dist.mk
+
+CFLAGS += -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
@@ -31,7 +33,9 @@
build-%/configure-stamp: configure
dh_testdir
mkdir -p build-$*
- cd build-$* && PYTHON=/usr/bin/python$* ../configure $(configure_flags)
+ cd build-$* && \
+ PYTHON=/usr/bin/python$* CFLAGS="$(CFLAGS)" \
+ ../configure $(configure_flags)
touch $@
build-%/build-stamp: build-%/configure-stamp
More information about the pkg-gnome-commits
mailing list