external/cddl/osnet: Do not suppress the warning output for libdtrace.

Changed -Wno-maybe-uninitialized to -Wno-error=maybe-uninitialized to allow
warnings to be printed out during build.

Suggested by: christos@
This commit is contained in:
fox 2020-03-17 01:36:29 +00:00
parent f61eb78c70
commit ea2ed373b0
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.27 2020/03/17 00:50:12 fox Exp $
# $NetBSD: Makefile,v 1.28 2020/03/17 01:36:29 fox Exp $
# $FreeBSD: head/cddl/lib/libdtrace/Makefile 314654 2017-03-04 11:30:04Z ngie $
@ -96,7 +96,7 @@ COPTS.dt_isadep.c += -Wno-unused-variable
.if (${MKLIBCSANITIZER:Uno} == "yes")
.if (${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8)
COPTS.dt_proc.c+= -Wno-maybe-uninitialized
COPTS.dt_proc.c+= -Wno-error=maybe-uninitialized
.endif
.endif