summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-08-01 14:05:53 +0200
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-08-01 23:23:06 +0200
commitf95ab0c052430365ab3011293144b761c42dade2 (patch)
treeb937bdcb3eeee118ba162a5783bfe8fd6103fe42
parentaudio/carla: fix build on powerpc / powerpc64 (diff)
games/widelands: fix build on riscv64
ld: error: lto.tmp: cannot link object files with different floating-point ABI
-rw-r--r--games/widelands/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/widelands/Makefile b/games/widelands/Makefile
index bc1c6d7cee8a..c35d01281950 100644
--- a/games/widelands/Makefile
+++ b/games/widelands/Makefile
@@ -32,6 +32,7 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS LTO NLS TEST
OPTIONS_DEFAULT=LTO
OPTIONS_EXCLUDE_powerpc64= LTO
+OPTIONS_EXCLUDE_riscv64= LTO
LTO_CMAKE_ON= -DUSE_FLTO_IF_AVAILABLE:STRING="yes"
NLS_CMAKE_BOOL= OPTION_BUILD_TRANSLATIONS