From: zrj Date: Wed, 2 May 2018 14:26:29 +0000 (+0300) Subject: world: Lower WARNS for bmake/tcsh contrib. X-Git-Tag: v5.5.0~629 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/f51dcbd4ae79f9d69de707c31de5fd268bdaad6a?ds=sidebyside world: Lower WARNS for bmake/tcsh contrib. Revert this once issues have been solved upstream. --- 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