diff options
-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 |