[Build-common-hackers] Bug#712729: Bug#712729: cdbs: langcore.mk: support dpkg-buildflags' DEB_CFLAGS_MAINT_APPEND and similar

Jonas Smedegaard dr at jones.dk
Tue Jun 18 22:57:56 UTC 2013

Quoting Emilio Pozuelo Monfort (2013-06-18 23:41:47)
> The hardening instructions in the Debian wiki[1] currently suggest to 
> include dpkg's buildflags.mk if the maintainer needs to 
> add/remove/override something, since CDBS doesn't support it (for 
> packages that don't need to change any *FLAGS, CDBS works perfectly 
> fine).

I have now read above 5 times and still not sure what it says.

Could you please try rephrase, using shorter sentences and avoid 

> I suggest that we make langcore respect those flags so that one can 
> simply do:
> DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,--as-needed
> and CDBS will do the right thing.

What is "the right thing"?

> See dpkg's magic in /usr/share/dpkg/buildflags.mk.

- 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: 490 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20130619/21b2eeb7/attachment.sig>

More information about the Build-common-hackers mailing list