diff options
author | joerg <joerg@pkgsrc.org> | 2012-04-22 20:30:43 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-04-22 20:30:43 +0000 |
commit | 045b79762d9f39266e95ffe76fb73fd91ebb7dd8 (patch) | |
tree | 1ca684abbef112137831643b1dfbad59437e6644 /devel | |
parent | db7a217c87f3d64548366a0c75289003c716e5db (diff) | |
download | pkgsrc-045b79762d9f39266e95ffe76fb73fd91ebb7dd8.tar.gz |
Disable warning for using non-POD return type in combination with extern
"C".
Diffstat (limited to 'devel')
-rw-r--r-- | devel/xulrunner/hacks.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/xulrunner/hacks.mk b/devel/xulrunner/hacks.mk index e44841c8dcc..3b91e3737d3 100644 --- a/devel/xulrunner/hacks.mk +++ b/devel/xulrunner/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.2 2011/07/08 15:51:02 wiz Exp $ +# $NetBSD: hacks.mk,v 1.3 2012/04/22 20:30:43 joerg Exp $ .if !defined(XULRUNNER_HACKS_MK) XULRUNNER_HACKS_MK= defined @@ -12,4 +12,8 @@ PKG_HACKS+= optimization BUILDLINK_TRANSFORM+= rm:-march=[-_A-Za-z0-9]* .endif +.if !empty(PKGSRC_COMPILER:Mclang) +CXXFLAGS+= -Wno-return-type-c-linkage +.endif + .endif # XULRUNNER_HACKS_MK |