* Initialize CFLAGS to -Wall -g; pass debian/rules' CFLAGS and LDFLAGS to

configure, doh!
This commit is contained in:
Loïc Minier 2007-04-12 12:12:34 +00:00
parent 30a12923d7
commit 4daac44b0c
2 changed files with 11 additions and 4 deletions

10
debian/changelog vendored
View File

@ -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 <joss@debian.org> 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 <lool@dooz.org> Thu, 12 Apr 2007 14:11:40 +0200
gtk+2.0 (2.10.11-1) experimental; urgency=low

5
debian/rules vendored
View File

@ -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__ "/' \