svn commit: r345735 - head/share/mk

Enji Cooper ngie at FreeBSD.org
Tue Sep 3 14:06:16 UTC 2019


Author: ngie
Date: Sat Mar 30 17:23:15 2019
New Revision: 345735
URL: https://svnweb.freebsd.org/changeset/base/345735

Log:
  Allow programs to set `NO_SHARED` on a per-PROG basis
  
  This is particularly useful when installing programs for tests that need to be
  linked statically, e.g., mini-me from capsicum-test, which is linked statically
  to avoid the dynamic library lookup in the upstream project.
  
  Reviewed by:	emaste
  Approved by:	emaste (mentor)
  MFC after:	1 month
  Differential Revision:	https://reviews.freebsd.org/D19756

Modified:
  head/share/mk/bsd.progs.mk

Modified: head/share/mk/bsd.progs.mk
==============================================================================
--- head/share/mk/bsd.progs.mk	Sat Mar 30 16:58:51 2019	(r345734)
+++ head/share/mk/bsd.progs.mk	Sat Mar 30 17:23:15 2019	(r345735)
@@ -23,7 +23,7 @@ PROGS += ${PROGS_CXX}
 .if defined(PROG)
 # just one of many
 PROG_OVERRIDE_VARS +=	BINDIR BINGRP BINOWN BINMODE CSTD CXXSTD DPSRCS MAN \
-			NO_WERROR PROGNAME SRCS STRIP WARNS
+			NO_SHARED NO_WERROR PROGNAME SRCS STRIP WARNS
 PROG_VARS +=	CFLAGS CXXFLAGS DEBUG_FLAGS DPADD INTERNALPROG LDADD LIBADD \
 		LINKS LDFLAGS MLINKS ${PROG_OVERRIDE_VARS}
 .for v in ${PROG_VARS:O:u}




More information about the svn-src-all mailing list