Discussed with Debian; see debian bug report for details, but the main
points:

  - At least for automake, LDFLAGS is a user flag, so upstream
(automade) makefiles are broken if they do not allow the user to set (or
reset) that option.

  - CDBS has been in production use for a long time, treating CFLAGS,
CXXFLAGS and LDFLAGS similarly: Resetting user-options and reaplying
both user-provided options and system-default options. Changing LDFLAGS
to no longer clear might break existing packages, and also makes the use
of the variable less intuitive as it no longer behaves similar to CFLAGS
and CXXFLAGS.

 - Breaks the possibility to overwrite broken upstream LDFLAGS

Proposal from them: for the moment, the upstream makefile be patched (replace
LDFLAGS := by override LDFLAGS +=), and we monitor the issue closely and
devise a built-in solution when we get more trouble reports.

** Changed in: cdbs (Ubuntu)
       Status: Triaged => Won't Fix

-- 
makefile.mk overwrites LDFLAGS defined in Makefile
https://bugs.launchpad.net/bugs/138981
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to