From e10e162c71d1549abfd7b5fc7ae3751bd62cd759 Mon Sep 17 00:00:00 2001 From: ngie Date: Sun, 15 Nov 2015 18:51:48 +0000 Subject: [PATCH] Add NO_WERROR and WARNS to PROG_OVERRIDE_VARS for bsd.prog.mk compatibility MFC after: 1 week Sponsored by: EMC / Isilon Storage Division --- share/mk/bsd.progs.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.progs.mk b/share/mk/bsd.progs.mk index c84e94b7c874..ad5cc184ee9a 100644 --- a/share/mk/bsd.progs.mk +++ b/share/mk/bsd.progs.mk @@ -41,8 +41,8 @@ PROG ?= $t .if defined(PROG) # just one of many -PROG_OVERRIDE_VARS += BINDIR BINGRP BINOWN BINMODE DPSRCS MAN PROGNAME \ - SRCS +PROG_OVERRIDE_VARS += BINDIR BINGRP BINOWN BINMODE DPSRCS MAN NO_WERROR \ + PROGNAME SRCS WARNS PROG_VARS += CFLAGS CPPFLAGS CXXFLAGS DPADD DPLIBS LDADD LIBADD LINKS \ LDFLAGS MLINKS ${PROG_OVERRIDE_VARS} .for v in ${PROG_VARS:O:u}