summaryrefslogtreecommitdiff
path: root/usr.bin/file/Makefile
diff options
context:
space:
mode:
authorBryan Steele <brynet@cvs.openbsd.org>2017-06-28 13:37:57 +0000
committerBryan Steele <brynet@cvs.openbsd.org>2017-06-28 13:37:57 +0000
commit26a6f55c5263d786899ced26fbb6396626917655 (patch)
treebd0c70e9b9dfaf13155c8a1902f327eecfa228d5 /usr.bin/file/Makefile
parent7c6d5e669ac1c27d29c6f21eefa4f922ec97d34c (diff)
Simplify file(1) by removing the no longer necessary parent/child separation
and just drop privileges in the main process. Also allows for a tighter "stdio" pledge. passing regress tests still pass ok nicm@ with helpful feedback
Diffstat (limited to 'usr.bin/file/Makefile')
-rw-r--r--usr.bin/file/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/file/Makefile b/usr.bin/file/Makefile
index b126138bf60..7bb8f68bf8f 100644
--- a/usr.bin/file/Makefile
+++ b/usr.bin/file/Makefile
@@ -1,13 +1,10 @@
-# $OpenBSD: Makefile,v 1.16 2015/10/04 07:25:59 nicm Exp $
+# $OpenBSD: Makefile,v 1.17 2017/06/28 13:37:56 brynet Exp $
PROG= file
SRCS= file.c magic-dump.c magic-load.c magic-test.c magic-common.c \
text.c xmalloc.c
MAN= file.1 magic.5
-LDADD= -lutil
-DPADD= ${LIBUTIL}
-
CDIAGFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
CDIAGFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
CDIAGFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare