diff options
author | imp <imp@FreeBSD.org> | 2014-07-25 21:10:30 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2014-07-25 21:10:30 +0000 |
commit | 1a20799ded6269879d3b1e2234f7e211cecf7280 (patch) | |
tree | a0050c8ace844e634b822e94134615f4a39a1cab | |
parent | 3e90546cc69cfd9366614911dd7c59a8e48479b6 (diff) | |
download | FreeBSD-src-1a20799ded6269879d3b1e2234f7e211cecf7280.zip FreeBSD-src-1a20799ded6269879d3b1e2234f7e211cecf7280.tar.gz |
Document an important, but easy to overlook without grepping the
entire tree, detail about LDFLAGS.
-rw-r--r-- | share/mk/bsd.README | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/bsd.README b/share/mk/bsd.README index 9740dac..954984e 100644 --- a/share/mk/bsd.README +++ b/share/mk/bsd.README @@ -231,7 +231,9 @@ LDADD Additional loader objects. Usually used for libraries. LDADD=-lutil -lcompat -LDFLAGS Additional loader flags. +LDFLAGS Additional loader flags. Passed to the loader via CC, + since that's used to link programs as well, so loader + specific flags need to be prefixed with -Wl, to work. LINKS The list of binary links; should be full pathnames, the linked-to file coming first, followed by the linked |