aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-21 13:43:09 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-21 13:43:09 +0000
commit8581b799a82ca113e2bf81d6915cb28c1c62bfa0 (patch)
treeb161d8ace5b6bb5e1ae05091f0accc09890a8def
parentb87f37734a9de7a3aa76e5520613e01519332461 (diff)
downloadports-8581b799a82ca113e2bf81d6915cb28c1c62bfa0.tar.gz
ports-8581b799a82ca113e2bf81d6915cb28c1c62bfa0.zip
games/eduke32: fix build on riscv64
LTO doesn't work on riscv64.
-rw-r--r--games/eduke32/Makefile2
1 files changed, 1 insertions, 1 deletions
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