From fcfcd1298f6ea1fcfb2b2b5a529303270aa800d9 Mon Sep 17 00:00:00 2001 From: Modestas Vainius Date: Sun, 19 Jun 2011 23:53:14 +0300 Subject: Always respect DEB_${flag}_{APPEND,SET} envvars. Do that even when dpkg-buildpackage modifies environment variables. Also document DEB_${flag}_{APPEND,SET} as recommended way to override standard build flags. --- dh_auto_configure | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dh_auto_configure') diff --git a/dh_auto_configure b/dh_auto_configure index daf5ed04..f08c0f6f 100755 --- a/dh_auto_configure +++ b/dh_auto_configure @@ -28,6 +28,11 @@ This is intended to work for about 90% of packages. If it doesn't work, you're encouraged to skip using B at all, and just run F<./configure> or its equivalent manually. +In order to override standard build flags, export appropriate environment +variables as documented in the L manual page. They will be +preferred over directly exported their counterparts (CFLAGS, CXXFLAGS, LDFLAGS +etc.). + =head1 OPTIONS See L> for a list of common build -- cgit v1.2.3