diff options
author | joerg <joerg@pkgsrc.org> | 2016-03-27 19:49:44 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-03-27 19:49:44 +0000 |
commit | 0ff4eec28bdc78bce0262d6ce503aea4682b0da0 (patch) | |
tree | 960c24e232783543a2209e53164f16be58eeee0b | |
parent | f97037de69928604822baa748d5ca8d834b28d24 (diff) | |
download | pkgsrc-0ff4eec28bdc78bce0262d6ce503aea4682b0da0.tar.gz |
Downgrade error about using non-POD types like references with
variadic warnings for clang to warning.
-rw-r--r-- | cad/kicad/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile index af188328a07..2c6418c7b0c 100644 --- a/cad/kicad/Makefile +++ b/cad/kicad/Makefile @@ -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" |