diff options
author | joerg <joerg> | 2013-08-31 14:45:19 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-08-31 14:45:19 +0000 |
commit | ed52d1bfe149cf8a1faab07653ee391c338f48cb (patch) | |
tree | b0e2cae6a1ba427be0240152a04b1ab0c825a6ec /converters | |
parent | a812729f0d725cc4df921ab0df4e1ad559ba37ad (diff) | |
download | pkgsrc-ed52d1bfe149cf8a1faab07653ee391c338f48cb.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" |