Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2014 21:10:30 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269099 - head/share/mk
Message-ID:  <201407252110.s6PLAUqT071804@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407252110.s6PLAUqT071804>