summaryrefslogtreecommitdiff
path: root/distrib/special/hostname
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/hostname
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/hostname')
-rw-r--r--distrib/special/hostname/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/distrib/special/hostname/Makefile b/distrib/special/hostname/Makefile
new file mode 100644
index 00000000000..b2569b76a0c
--- /dev/null
+++ b/distrib/special/hostname/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+
+PROG= hostname
+
+.PATH: ${.CURDIR}/../../../bin/hostname
+.include <bsd.prog.mk>