Disable warning for using non-POD return type in combination with extern
"C".
This commit is contained in:
parent
049a119ee7
commit
408703e40a
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue