Bug#674912: debhelper: dh_auto_build should override CPPFLAGS and CFLAGS when building a Makefile project

2012-05-28 Thread Antti-Juhani Kaijanaho
Package: debhelper Version: 9.20120523 Severity: wishlist 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

Bug#674912: debhelper: dh_auto_build should override CPPFLAGS and CFLAGS when building a Makefile project

2012-05-28 Thread Joey Hess
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

Bug#674912: debhelper: dh_auto_build should override CPPFLAGS and CFLAGS when building a Makefile project

2012-05-28 Thread Antti-Juhani Kaijanaho
On Mon, May 28, 2012 at 01:33:32PM -0400, Joey Hess wrote: These are also easy changes for a debian maintainer to make to a Makefile if desired. True; which explains the wishlist severity. But still, it would be nice to have it work out of the box. (I hadn't noticed the problem with