a216da57a6
Push -Wno-array-bounds down to the cases that depend on it. Selectively disable warnings for 3rd party software or non-trivial issues to be reviewed later to get clang -Werror to build most of the tree.
17 lines
376 B
Makefile
17 lines
376 B
Makefile
# $NetBSD: Makefile.inc,v 1.2 2011/05/26 12:56:27 joerg Exp $
|
|
|
|
XZHOMEPAGE= http://tukaani.org/xz/
|
|
XZVERSION= 5.0.0
|
|
|
|
XZSRCDIR:= ${.PARSEDIR}/dist
|
|
XZINCDIR:= ${.PARSEDIR}/include
|
|
|
|
CPPFLAGS+= -I${XZINCDIR}
|
|
CPPFLAGS+= -I${XZSRCDIR}/src/common
|
|
CPPFLAGS+= -I${XZSRCDIR}/src/liblzma/api
|
|
CPPFLAGS+= -DHAVE_CONFIG_H
|
|
|
|
CFLAGS+= -std=c99
|
|
WARNS= 2
|
|
|
|
CWARNFLAGS.clang+= -Wno-format-security
|