cutter: Use OPSYS_VERSION

This commit is contained in:
nia 2022-05-24 13:01:02 +00:00
parent e596537aba
commit f682300164

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.76 2022/04/18 19:10:48 adam Exp $
# $NetBSD: Makefile,v 1.77 2022/05/24 13:01:02 nia Exp $
#
DISTNAME= cutter-1.2.4
@ -30,7 +30,7 @@ TEST_TARGET= check
.include "../../mk/compiler.mk"
# PR#lib/39986
.if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 060000 && !empty(CC_VERSION:Mgcc*)
LDFLAGS.NetBSD+= -lgcc_s
.endif