Antti-Juhani Kaijanaho wrote: > The attached test project demonstrates a lack in dh_auto_build for Makefile > projects: the Debian-specified build flags are not necessarily communicated to > the compiler. Debhelper should override CPPFLAGS and CFLAGS on the make > command line.
It's far too late to change this in debhelper 9. I'm sure that many Makefiles that set CFLAGS do it to pass their own options, which should not be stomped on. It is, after all, quite easy to use CFLAGS ?= <default> if it's only setting a default that should be overrideen by the environment, or to use CFLAGS := $(CFLAGS) -foo if a certian option should be present but also use the environment. These are also easy changes for a debian maintainer to make to a Makefile if desired. -- see shy jo
signature.asc
Description: Digital signature