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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to