git: 8581b799a82c - main - games/eduke32: fix build on riscv64

Piotr Kubaj pkubaj at FreeBSD.org
Mon Jun 21 13:43:23 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8581b799a82ca113e2bf81d6915cb28c1c62bfa0

commit 8581b799a82ca113e2bf81d6915cb28c1c62bfa0
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-21 13:43:09 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-21 13:43:09 +0000

    games/eduke32: fix build on riscv64
    
    LTO doesn't work on riscv64.
---
 games/eduke32/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games/eduke32/Makefile b/games/eduke32/Makefile
index e51a8b419dae..bfcc5fdc5e77 100644
--- a/games/eduke32/Makefile
+++ b/games/eduke32/Makefile
@@ -76,7 +76,7 @@ FULL_PLIST_FILES=	${DATADIR}/duke3d.grp ${DATADIR}/duke.rts
 
 .include <bsd.port.options.mk>
 
-.if (${ARCH} == i386 || ${ARCH} == powerpc64) || ${OSVERSION} < 1202000
+.if (${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == riscv64) || ${OSVERSION} < 1202000
 MAKE_ARGS+=	LTO=0
 .endif
 


More information about the dev-commits-ports-main mailing list