Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 00:22:49 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288162 - head/share/mk
Message-ID:  <201509240022.t8O0MnMN024076@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Sep 24 00:22:48 2015
New Revision: 288162
URL: https://svnweb.freebsd.org/changeset/base/288162

Log:
  Note that LIBADD is only valid in /usr/src.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/share/mk/bsd.README

Modified: head/share/mk/bsd.README
==============================================================================
--- head/share/mk/bsd.README	Thu Sep 24 00:20:34 2015	(r288161)
+++ head/share/mk/bsd.README	Thu Sep 24 00:22:48 2015	(r288162)
@@ -270,7 +270,8 @@ LDADD		Additional loader objects.  Usual
 
 			LDADD=-lutil -lcompat
 
-LIBADD		Additional libraries.  This is for base system libraries.
+LIBADD		Additional libraries.  This is for base system libraries
+		and is only valid inside of the /usr/src tree.
 		Rather than use LDADD=-lname use LIBADD=name.
 
 LDFLAGS		Additional loader flags. Passed to the loader via CC,
@@ -302,7 +303,7 @@ PROGS_CXX	PROG and PROGS_CXX in one Make
 
 		PROGS=		foo bar
 		SRCS.foo=	foo_src.c
-		LIBADD.foo=	util
+		LDADD.foo=	-lutil
 		SRCS.bar=	bar_src.c
 
 		The supported variables are BINDIR BINGRP BINMODE BINOWN
@@ -411,7 +412,8 @@ LIBMODE		Library mode.
 
 LDADD		Additional loader objects.
 
-LIBADD		Additional libraries.  This is for base system libraries.
+LIBADD		Additional libraries.  This is for base system libraries
+		and is only valid inside of the /usr/src tree.
 		Rather than use LDADD=-lname use LIBADD=name.
 
 MAN		The manual pages to be installed (use a .1 - .9 suffix).



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