cutter: Use OPSYS_VERSION
This commit is contained in:
parent
e596537aba
commit
f682300164
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue