[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
Thu Jun 20 07:57:16 UTC 2013


Quoting Emilio Pozuelo Monfort (2013-06-20 00:29:14)
> On 19/06/13 19:14, Jonas Smedegaard wrote:
> > Quoting Emilio Pozuelo Monfort (2013-06-19 11:29:55)
> >> Or
> >>
> >> DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,--as-needed
> >>
> >> and get my package built with LDFLAGS="dpkg build flags plus my 
> >> other flags".
> >>
> >> There are other kind of DEB_LDFLAGS_MAINT_ vars, which are 
> >> _PREPEND, _SET and _STRIP. CDBS should honor all of them so if I 
> >> set one, I will get the right flags.
> > 
> > Anyone wanting that logic can simply do this:
> > 
> >   include /usr/share/dpkg/buildflags.mk
> > 
> > No need for CDBS to replicate code provided by dpkg IMO.
> 
> Perhaps CDBS' buildflags can include that file and let it do its 
> magic. But that may or may not be possible as it may unconditionally 
> set *FLAGS (I don't remember and can't check right now). I thought 
> it'd be cool if one wouldn't need to do extra includes. But I 
> understand it may not be straightforward and not worth it.

How do you mean? How can buildflags include a file?!?


 - 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/20130620/e1eae902/attachment.sig>


More information about the Build-common-hackers mailing list