[Build-common-hackers] Bug#651966: class/langcore.mk: DEB_BUILD_MAINT_OPTIONS not passed to dpkg-buildflags

Raphael Hertzog hertzog at debian.org
Wed Dec 14 07:17:12 UTC 2011


Hi,

On Tue, 13 Dec 2011, Simon Ruderich wrote:
> The attached patch fixes this and passes DEB_BUILD_MAINT_OPTIONS
> to dpkg-buildflags, but I'm not sure if it's the best way to do
> it.

The attached patch is not enough. There are other variables that are
important.

Please check /usr/share/dpkg/buildflags.mk as an example of how this
should be done.

Better, I suggest that you rely on dpkg-dev doing the work for you and
that you just include this Makefile and use the standard variables.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/liberation/





More information about the Build-common-hackers mailing list