Hello, The problem is this Makefile snippet:
--8<---------------cut here---------------start------------->8---
override_dh_auto_build:
$(checkdir)
set -e; for s in $(subdirs_build); do \
$(MAKE) -C $$s all; \
done
touch build
--8<---------------cut here---------------end--------------->8---
which means that CFLAGS isn't passed down to the subinvocation of Make.
So perhaps the best fix would be something like this:
--8<---------------cut here---------------start------------->8---
diff --git a/debian/rules b/debian/rules
index b84847b..19aa02f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,6 +38,8 @@ override_dh_auto_configure:
override_dh_auto_build:
$(checkdir)
+ export CFLAGS
+ export CPPFLAGS
+ export LDFLAGS
set -e; for s in $(subdirs_build); do \
$(MAKE) -C $$s all; \
done
--8<---------------cut here---------------end--------------->8---
though maybe there is a more standard way to do it?
--
Sean Whitton
signature.asc
Description: PGP signature

