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

Jonas Smedegaard dr at jones.dk
Tue Dec 13 18:20:54 UTC 2011


On 11-12-13 at 06:05pm, Simon Ruderich wrote:
> Package: cdbs
> Severity: important
> Tags: patch
> 
> Hello,
> 
> To modify hardening flags dpkg-buildflags uses the
> DEB_BUILD_MAINT_OPTIONS environmental variable. For example to
> enable all hardening flags the maintainer can set it in
> debian/rules:
> 
>     export DEB_BUILD_MAINT_OPTIONS=hardening=+all
> 
>     include /usr/share/cdbs/1/...
>     ...
> 
> But $(shell ...) doesn't inherit exported variables, thus at the
> moment it's not possible to use DEB_BUILD_MAINT_OPTIONS to modify
> dpkg-buildflags hardening flags in cdbs.

Why is this severity important?


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20111214/a6ff996f/attachment.pgp>


More information about the Build-common-hackers mailing list