Downgrade error about using non-POD types like references with
variadic warnings for clang to warning.
This commit is contained in:
parent
fb28338099
commit
9f9d9af4d5
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.8 2016/02/03 19:34:33 bouyer Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2016/03/27 19:49:44 joerg Exp $
|
||||
#
|
||||
|
||||
V= 4.0.1
|
||||
|
@ -48,6 +48,11 @@ SUBST_FILES.netbsd5= pcbnew/legacy_plugin.cpp \
|
|||
SUBST_SED.netbsd5= -e 's/fabsl/fabs/g'
|
||||
.endif
|
||||
|
||||
.include "../../mk/compiler.mk"
|
||||
.if !empty(PKGSRC_COMPILER:Mclang)
|
||||
CXXFLAGS+= -Wno-error=non-pod-varargs
|
||||
.endif
|
||||
|
||||
.include "../../devel/swig/buildlink3.mk"
|
||||
.include "../../devel/boost-libs/buildlink3.mk"
|
||||
.include "../../devel/cmake/buildlink3.mk"
|
||||
|
|
Loading…
Reference in a new issue