diff options
author | joerg <joerg@pkgsrc.org> | 2013-08-31 14:45:19 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-08-31 14:45:19 +0000 |
commit | e511a2a185474726978492aa070af57e8047e338 (patch) | |
tree | b0e2cae6a1ba427be0240152a04b1ab0c825a6ec /converters | |
parent | 0e7f00ecc3b5fedec3a8d2d0091e8e56500a76a5 (diff) | |
download | pkgsrc-e511a2a185474726978492aa070af57e8047e338.tar.gz |
Make warnings about C++11 features (boost) and unknown pragmas
non-fatal.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/libmspub/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/converters/libmspub/Makefile b/converters/libmspub/Makefile index 4b5a6848b2f..3bc4d1cba39 100644 --- a/converters/libmspub/Makefile +++ b/converters/libmspub/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2013/08/24 16:06:56 jaapb Exp $ +# $NetBSD: Makefile,v 1.2 2013/08/31 14:45:19 joerg Exp $ DISTNAME= libmspub-0.0.6 CATEGORIES= converters @@ -18,6 +18,11 @@ CONFIGURE_ARGS+= --without-docs PKGCONFIG_OVERRIDE+= libmspub.pc.in +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CXXFLAGS+= -Wno-error=unknown-pragmas -Wno-error=c++11-extensions +.endif + .include "../../converters/libwpd/buildlink3.mk" .include "../../converters/libwpg/buildlink3.mk" .include "../../devel/boost-libs/buildlink3.mk" |