On Thu Apr 17 14:46, Lucas Nussbaum wrote:
> > Are you setting LDFLAGS in your build? If so, what is the correct way to
> > solve this? (I'm upstream as well)
> > 
> >    - remove the ? in the makefile
> >    - set LDFLAGS in debian/rules
> >    - move -lc or all of the flags to a different variable name.
> >    - ignore it and close the bug because it's the fault of whoever set
> >    LDFLAGS.
> 
> dpkg-buildpackage now sets LDFLAGS to an empty value by default. See
> d-d-a.
> 

Yeah, I saw that. Do you have any suggestions about what the 'correct'
way to handle this is? Given I'm not using autotools, I've been allowing
makefile variables to be overridden to allow customization, my naive
approach to that obviously doesn't work any more.

if [ -z "$LDFLAGS" ]; then unset LDFLAGS; fi (or the Make equivelant)
might work.

Matt

-- 
Matthew Johnson

Attachment: signature.asc
Description: Digital signature

Reply via email to