aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@FreeBSD.org>2021-05-21 09:27:27 +0000
committerMarcin Wojtas <mw@FreeBSD.org>2021-05-21 13:32:42 +0000
commitc6081dea597a475e4bbcc8588ece03ae78b58978 (patch)
treeee4721c4aca0a6a0cc57f8127eddea153723805e /share
parent7c8d38112da7bddb5ebd93cb9613acfb16456dc1 (diff)
downloadsrc-c6081dea597a475e4bbcc8588ece03ae78b58978.tar.gz
src-c6081dea597a475e4bbcc8588ece03ae78b58978.zip
Add elfctl to toolchain.
Add elfctl program to toolchain to allow modifying ELF feature flags during system build. Submitted by: Dawid Gorecki <dgr@semihalf.com> Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D29552
Diffstat (limited to 'share')
-rw-r--r--share/mk/sys.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 8f456b28593a..89ac2c549656 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -210,6 +210,8 @@ ECHODIR ?= true
.endif
.endif
+ELFCTL ?= elfctl
+
.if ${.MAKEFLAGS:M-N}
# bmake -N is supposed to skip executing anything but it does not skip
# exeucting '+' commands. The '+' feature is used where .MAKE