summaryrefslogtreecommitdiff
path: root/distrib/special/mknod
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-12-23 17:16:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-12-23 17:16:04 +0000
commitde5b987aa5f26edda6dd927bb6719eb65ac3978a (patch)
tree124cb4c1400915a8fe8f1b2dee7b3dbd4d223fc8 /distrib/special/mknod
parentc56912687303bfde46d89d1043115cfea4334866 (diff)
/bin and /sbin are moving towards static PIE, so on many architectures
the PIC .o files are unsuitable for static "instbin". This adds more work at build time, but the result will be optimized for size.
Diffstat (limited to 'distrib/special/mknod')
-rw-r--r--distrib/special/mknod/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/distrib/special/mknod/Makefile b/distrib/special/mknod/Makefile
new file mode 100644
index 00000000000..bb7dd6f2f8b
--- /dev/null
+++ b/distrib/special/mknod/Makefile
@@ -0,0 +1,8 @@
+# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+
+PROG= mknod
+MAN= mknod.8 mkfifo.1
+LINKS= ${BINDIR}/mknod ${BINDIR}/mkfifo
+
+.PATH: ${.CURDIR}/../../../sbin/mknod
+.include <bsd.prog.mk>