Workaround GNU ld bug on NetBSD by dropping --fatal-warnings from the
linker flags.
This commit is contained in:
parent
f58258d3b1
commit
9988c4d73a
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1 2016/05/26 08:29:04 markd Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2016/06/19 23:00:30 joerg Exp $
|
||||
|
||||
DISTNAME= kcoreaddons-${KF5VER}
|
||||
CATEGORIES= devel
|
||||
|
@ -9,6 +9,14 @@ LICENSE= gnu-lgpl-v2 AND gnu-lgpl-v2.1 AND modified-bsd
|
|||
|
||||
.include "../../meta-pkgs/kf5/Makefile.common"
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
.if ${OPSYS} == "NetBSD"
|
||||
# Work-around bad use-warning check in GNU ld 2.26
|
||||
# /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy.
|
||||
# is triggered, even though the current linker output contains
|
||||
# no references tto it.
|
||||
BUILDLINK_TRANSFORM+= rm:-Wl,--fatal-warnings
|
||||
.endif
|
||||
|
||||
.include "../../databases/shared-mime-info/buildlink3.mk"
|
||||
.include "../../mk/fam.buildlink3.mk"
|
||||
|
|
Loading…
Reference in a new issue