URL: <http://savannah.gnu.org/bugs/?37970>
Summary: Misleading documentation of LDFLAGS variable Project: make Submitted by: None Submitted on: Fri 21 Dec 2012 01:14:08 PM UTC Severity: 3 - Normal Item Group: Documentation Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 3.82 Operating System: None Fixed Release: None Triage Status: None _______________________________________________________ Details: In the GNU make manual, section 10.3 (Variables Used by Implicit Rules) LDFLAGS is described as "Extra flags to give to compilers when they are supposed to invoke the linker, ‘ld’." This made me think that I should use LDFLAGS to specify libraries, instead of LDLIBS. Unfortunately, this seems to work with some GNU toolchains, and fail with others (maybe due to a recent binutils change?). It may be worth mentioning there that LDLIBS should be used to specific static libraries. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?37970> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make