aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/gvinum
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-09-11 13:28:37 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-09-11 13:28:37 +0000
commitecebb3cc1d2d074defc302d8ae6820bb6b20d4fe (patch)
tree82d4975af5d9f605e80daeb706f1b9f5ce4eb59e /sbin/gvinum
parentb876085f5589f4e6d531d97ad902c5730ec55339 (diff)
downloadsrc-ecebb3cc1d2d074defc302d8ae6820bb6b20d4fe.tar.gz
src-ecebb3cc1d2d074defc302d8ae6820bb6b20d4fe.zip
Only set WARNS if not defined
This would allow interested parties to do experimental runs with an environment set appropriately to raise all the warnings throughout the build; e.g. env WARNS=6 NO_WERROR=yes buildworld. Not currently touching the numerous instances in ^/tools. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=365631
Diffstat (limited to 'sbin/gvinum')
-rw-r--r--sbin/gvinum/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/gvinum/Makefile b/sbin/gvinum/Makefile
index 4caa775be2e1..18550053228a 100644
--- a/sbin/gvinum/Makefile
+++ b/sbin/gvinum/Makefile
@@ -5,7 +5,7 @@ PROG= gvinum
SRCS= gvinum.c gvinum.h geom_vinum_share.c
MAN= gvinum.8
-WARNS= 2
+WARNS?= 2
CFLAGS+= -I${SRCTOP}/sys -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/edit
LIBADD= edit geom