pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/xulrunner Disable warning for using non-POD retu...
details: https://anonhg.NetBSD.org/pkgsrc/rev/56f7978f55fd
branches: trunk
changeset: 602927:56f7978f55fd
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Apr 22 20:30:43 2012 +0000
description:
Disable warning for using non-POD return type in combination with extern
"C".
diffstat:
devel/xulrunner/hacks.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 578f52308fbe -r 56f7978f55fd devel/xulrunner/hacks.mk
--- a/devel/xulrunner/hacks.mk Sun Apr 22 20:30:11 2012 +0000
+++ b/devel/xulrunner/hacks.mk Sun Apr 22 20:30:43 2012 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index