From 4daac44b0c41ac64f798435b721e0a3da48dd44d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Thu, 12 Apr 2007 12:12:34 +0000 Subject: [PATCH] * Initialize CFLAGS to -Wall -g; pass debian/rules' CFLAGS and LDFLAGS to configure, doh! --- debian/changelog | 10 +++++++--- debian/rules | 5 ++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 020b5906da..502c65bae9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,11 +13,15 @@ gtk+2.0 (2.10.11-2) UNRELEASED; urgency=low * Call dh_installman -a. [ Josselin Mouette ] - * 040_filechooser_single-click.patch: remove shortcut-related actions - in the response callback. This fixes the annoying bug where you need + * 040_filechooser_single-click.patch: remove shortcut-related actions + in the response callback. This fixes the annoying bug where you need to click twice on "save" after clicking on a shortcut. - -- Josselin Mouette Wed, 11 Apr 2007 16:46:26 +0200 + [ Loic Minier ] + * Initialize CFLAGS to -Wall -g; pass debian/rules' CFLAGS and LDFLAGS to + configure, doh! + + -- Loic Minier Thu, 12 Apr 2007 14:11:40 +0200 gtk+2.0 (2.10.11-1) experimental; urgency=low diff --git a/debian/rules b/debian/rules index e3208461c1..f689e2ded0 100644 --- a/debian/rules +++ b/debian/rules @@ -29,6 +29,8 @@ MAKEFLAGS += $(if $(DEB_BUILD_OPTIONS_PARALLEL),-j2 $(DEB_BUILD_OPTIONS_PARALLEL DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +CFLAGS += -Wall -g + ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else @@ -148,7 +150,8 @@ $(STAMP_DIR)/configure-stamp-%: $(STAMP_DIR)/patch-stamp dh_testdir mkdir -p $(builddir) cd $(builddir) && \ - $(CURDIR)/configure $($*_configure_flags) + CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + $(CURDIR)/configure $($*_configure_flags) cd $(builddir) && \ sed < libtool > libtool-2 \ -e 's/^hardcode_libdir_flag_spec.*$$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' \