Treat implicit-fallthrough only as a warning

This commit is contained in:
pgoyette 2019-04-06 10:29:13 +00:00
parent f8e2ee8875
commit 428d655f02
1 changed files with 3 additions and 1 deletions

View File

@ -1,9 +1,11 @@
# $NetBSD: Makefile,v 1.2 2009/02/02 20:47:21 joerg Exp $
# $NetBSD: Makefile,v 1.3 2019/04/06 10:29:13 pgoyette Exp $
# Original from FreeBSD, no rcs id.
PROG= pkg_create
SRCS= main.c perform.c pl.c util.c build.c
COPTS.main.c+= -Wno-error=implicit-fallthrough
.include <bsd.init.mk>
.PATH: ${DIST}/create