summaryrefslogtreecommitdiff
path: root/bin/ksh/Makefile
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2018-01-01 19:45:57 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2018-01-01 19:45:57 +0000
commite25125a30d3060dae5fc4283bf2280b1dc633d4c (patch)
tree069407247006a51a652d42d762baac309d4d6f62 /bin/ksh/Makefile
parent020467427f9cd3161ff26174a2751ff78294285a (diff)
Add WARNINGS=yes to ksh and fix the resulting sign compare warnings.
OK tb@
Diffstat (limited to 'bin/ksh/Makefile')
-rw-r--r--bin/ksh/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ksh/Makefile b/bin/ksh/Makefile
index 64a36668b7c..5f3b8a58ca8 100644
--- a/bin/ksh/Makefile
+++ b/bin/ksh/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.35 2017/12/27 13:02:57 millert Exp $
+# $OpenBSD: Makefile,v 1.36 2018/01/01 19:45:56 millert Exp $
PROG= ksh
SRCS= alloc.c c_ksh.c c_sh.c c_test.c c_ulimit.c edit.c emacs.c eval.c \
@@ -6,7 +6,8 @@ SRCS= alloc.c c_ksh.c c_sh.c c_test.c c_ulimit.c edit.c emacs.c eval.c \
misc.c path.c shf.c syn.c table.c trap.c tree.c tty.c var.c \
version.c vi.c
-DEFS= -Wall -Wshadow -DEMACS -DVI
+WARNINGS=yes
+DEFS= -DEMACS -DVI
CFLAGS+=${DEFS} -I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc/gen
MAN= ksh.1 sh.1