From f51dcbd4ae79f9d69de707c31de5fd268bdaad6a Mon Sep 17 00:00:00 2001 From: zrj Date: Wed, 2 May 2018 17:26:29 +0300 Subject: [PATCH] world: Lower WARNS for bmake/tcsh contrib. Revert this once issues have been solved upstream. --- bin/csh/csh/Makefile | 6 ++++++ usr.bin/bmake/Makefile | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/bin/csh/csh/Makefile b/bin/csh/csh/Makefile index 06df8530ba..4454264306 100644 --- a/bin/csh/csh/Makefile +++ b/bin/csh/csh/Makefile @@ -53,6 +53,12 @@ LDFLAGS+= -Wl,--allow-multiple-definition . endif .endif +# XXX pending tcsh update +.if !defined(WARNS_AUDIT) +WARNS= 1 +CFLAGS+= -w +.endif + LINKS= ${BINDIR}/csh ${BINDIR}/tcsh CLEANFILES= ${GENHDRS} csh.1 diff --git a/usr.bin/bmake/Makefile b/usr.bin/bmake/Makefile index 25cb789440..33dd8d5244 100644 --- a/usr.bin/bmake/Makefile +++ b/usr.bin/bmake/Makefile @@ -56,6 +56,11 @@ COPTS.job.c= -Wno-format-nonliteral COPTS.parse.c= -Wno-format-nonliteral COPTS.var.c= -Wno-format-nonliteral +# XXX pending bmake update +.if !defined(WARNS_AUDIT) +WARNS= 1 +.endif + DPADD= ${LIBUTIL} LDADD= -lutil -- 2.41.0