summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2021-02-11 19:41:06 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2021-02-11 19:41:06 +0000
commit8a6508d2a3ae7eefda438c34566b24ef1ce7fe5d (patch)
treea7f0c3ff101db3f8b3c4d4276759e728e9898679 /sbin
parent6fb19d011ac2361a9646e0ec30c0c711306b78e3 (diff)
Link isakmpd dynamically. Mount /usr on NFS via IPsec does not
work anyway. Dynamic binaries help building errata, reduce disk usage and make ROP harder. Also remove an unused bsd.subdir.mk include. OK sthen@ mvs@ deraadt@ tobhe@ patrick@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/isakmpd/Makefile b/sbin/isakmpd/Makefile
index 61f1ddb38d5..ca7f1a4b9ea 100644
--- a/sbin/isakmpd/Makefile
+++ b/sbin/isakmpd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.88 2017/07/10 21:30:37 espie Exp $
+# $OpenBSD: Makefile,v 1.89 2021/02/11 19:41:05 bluhm Exp $
# $EOM: Makefile,v 1.78 2000/10/15 21:33:42 niklas Exp $
#
@@ -87,4 +87,6 @@ generated: ${GENERATED}
BUILDFIRST = ${GENERATED}
.include <bsd.prog.mk>
-.include <bsd.subdir.mk>
+
+# Don't compile isakmpd as static binary by default
+LDSTATIC=