On 17/04/08 at 13:29 +0100, Matthew Johnson wrote: > 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.
What about using += instead of ?= ? -- | Lucas Nussbaum | [EMAIL PROTECTED] http://www.lucas-nussbaum.net/ | | jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]