Work around the unsetting of CFLAGS in src/Makefile.am, by passing CFLAGS to make via DEB_MAKE_INVOKE in debian/rules.

This commit is contained in:
Josh Triplett 2006-04-29 17:02:43 -07:00
parent 140c30e522
commit 4a891c6f4e
2 changed files with 3 additions and 0 deletions

2
debian/changelog vendored
View File

@ -17,6 +17,8 @@ libxcb (0.9-3) experimental; urgency=low
* Stop setting DEB_CONFIGURE_EXTRA_FLAGS = --with-opt in debian/rules;
cdbs does the right thing on its own, and correctly handles
DEB_BUILD_OPTS.
* Work around the unsetting of CFLAGS in src/Makefile.am, by passing CFLAGS
to make via DEB_MAKE_INVOKE in debian/rules.
* Remove Bugs field in control, so bugs go to the Debian BTS.
* Set distribution to experimental.

1
debian/rules vendored
View File

@ -28,6 +28,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
DEB_MAKE_CHECK_TARGET=check
DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) $(MAKE) -C $(DEB_BUILDDIR) CFLAGS="$(CFLAGS)"
debian/copyright: debian/copyright.debian COPYING
cat $+ > $@