Ignore clang's empty loop-body warning, it is used extensively via

macros.
This commit is contained in:
joerg 2016-03-07 14:35:21 +00:00
parent 71d1b0cc02
commit 715ef344d7
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2015/07/20 06:34:29 mrg Exp $
# $NetBSD: Makefile,v 1.4 2016/03/07 14:35:21 joerg Exp $
DRIVER= xf86-video-geode
DRIVER_NAME= geode_drv
@ -44,6 +44,8 @@ COPTS.gx_randr.c+= -Wno-error # XXX
COPTS.lx_memory.c+= -Wno-error # XXX
COPTS.panel.c+= -Wno-error # XXX -- huh? don't get this one
CWARNFLAGS.clang+= -Wno-empty-body
.include "../Makefile.xf86-driver"
XORG_PKG_VER_PROG= ${DRIVER}