mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-26 14:00:55 +00:00
Clarify LDFLAGS vs. LDLIBS. Fixes Savannah bug #37970.
This commit is contained in:
parent
29cd1e9699
commit
6a52395ed1
2 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
2013-04-06 Paul Smith <psmith@gnu.org>
|
||||
|
||||
* doc/make.texi (Implicit Variables): Clarify LDFLAGS vs. LDLIBS.
|
||||
Fixes Savannah bug #37970.
|
||||
|
||||
* remake.c (check_dep): Reconsider files waiting on prerequisites,
|
||||
as they may have finished. Fixes Savannah bug #37703.
|
||||
|
||||
|
|
|
@ -9377,14 +9377,16 @@ Extra flags to give to the SCCS @code{get} program.
|
|||
@item LDFLAGS
|
||||
@vindex LDFLAGS
|
||||
Extra flags to give to compilers when they are supposed to invoke the linker,
|
||||
@samp{ld}.
|
||||
@samp{ld}, such as @code{-L}. Libraries (@code{-lfoo}) should be
|
||||
added to the @code{LDLIBS} variable instead.
|
||||
|
||||
@item LDLIBS
|
||||
@vindex LDLIBS
|
||||
@vindex LOADLIBES
|
||||
Library flags or names given to compilers when they are supposed to
|
||||
invoke the linker, @samp{ld}. @code{LOADLIBES} is a deprecated (but
|
||||
still supported) alternative to @code{LDLIBS}.
|
||||
still supported) alternative to @code{LDLIBS}. Non-library linker
|
||||
flags, such as @code{-L}, should go in the @code{LDFLAGS} variable.
|
||||
|
||||
@item LFLAGS
|
||||
@vindex LFLAGS
|
||||
|
|
Loading…
Reference in a new issue