mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
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
This commit is contained in:
parent
be7808dca3
commit
1c50bec8ef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345735
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user