svn commit: r269099 - head/share/mk

Warner Losh imp at FreeBSD.org
Fri Jul 25 21:10:31 UTC 2014


Author: imp
Date: Fri Jul 25 21:10:30 2014
New Revision: 269099
URL: http://svnweb.freebsd.org/changeset/base/269099

Log:
  Document an important, but easy to overlook without grepping the
  entire tree, detail about LDFLAGS.

Modified:
  head/share/mk/bsd.README

Modified: head/share/mk/bsd.README
==============================================================================
--- head/share/mk/bsd.README	Fri Jul 25 20:54:10 2014	(r269098)
+++ head/share/mk/bsd.README	Fri Jul 25 21:10:30 2014	(r269099)
@@ -231,7 +231,9 @@ LDADD		Additional loader objects.  Usual
 
 			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


More information about the svn-src-all mailing list