nss: Add -lrt for sem_wait(3) on NetBSD

* Fix build under NetBSD/amd64-current with binutils 2.34.
This commit is contained in:
ryoon 2020-04-06 13:40:18 +00:00
parent 3a0911ec9b
commit 2012ec97e1

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.180 2020/03/18 13:22:10 ryoon Exp $
# $NetBSD: Makefile,v 1.181 2020/04/06 13:40:18 ryoon Exp $
DISTNAME= nss-${NSS_RELEASE:S/.0$//}
NSS_RELEASE= 3.51.0
@ -40,6 +40,7 @@ SUBST_SED.zlib= -e 's,^ZLIB_LIBS,\#ZLIB_LIBS,g'
BUILDLINK_TRANSFORM+= rm:-Werror
BUILDLINK_TRANSFORM+= rm:-ansi
LDFLAGS.NetBSD+= -lrt # sem_wait(3)
MAKE_ENV.Linux+= FREEBL_NO_DEPEND=0