summaryrefslogtreecommitdiff
path: root/distrib/special/fsck
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/fsck
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/fsck')
-rw-r--r--distrib/special/fsck/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/distrib/special/fsck/Makefile b/distrib/special/fsck/Makefile
new file mode 100644
index 00000000000..7bf70297336
--- /dev/null
+++ b/distrib/special/fsck/Makefile
@@ -0,0 +1,10 @@
+# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+
+PROG= fsck
+SRCS= fsck.c fsutil.c preen.c
+MAN= fsck.8
+DPADD= ${LIBUTIL}
+LDADD= -lutil
+
+.PATH: ${.CURDIR}/../../../sbin/fsck
+.include <bsd.prog.mk>