diff options
author | Modestas Vainius <modax@debian.org> | 2011-06-19 23:53:14 +0300 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-06-19 18:01:32 -0400 |
commit | fcfcd1298f6ea1fcfb2b2b5a529303270aa800d9 (patch) | |
tree | d6196eff0e4e54fb73edf5c771610d904aa0483b /dh_auto_build | |
parent | 1722a1bcfed9558cc438f3c0a1b9e024b46986cc (diff) |
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.
Diffstat (limited to 'dh_auto_build')
-rwxr-xr-x | dh_auto_build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dh_auto_build b/dh_auto_build index dccd04a0..77b55eef 100755 --- a/dh_auto_build +++ b/dh_auto_build @@ -25,6 +25,11 @@ This is intended to work for about 90% of packages. If it doesn't work, you're encouraged to skip using B<dh_auto_build> at all, and just run the build process manually. +In order to override standard build flags, export appropriate environment +variables as documented in the L<dpkg-buildflags(1)> manual page. They will be +preferred over directly exported their counterparts (CFLAGS, CXXFLAGS, LDFLAGS +etc.). + =head1 OPTIONS See L<debhelper(7)/B<BUILD SYSTEM OPTIONS>> for a list of common build |