git: f95ab0c05243 - main - games/widelands: fix build on riscv64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 01 Aug 2022 21:23:14 UTC
The branch main has been updated by pkubaj:

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

commit f95ab0c052430365ab3011293144b761c42dade2
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-08-01 12:05:53 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-08-01 21:23:06 +0000

    games/widelands: fix build on riscv64
    
    ld: error: lto.tmp: cannot link object files with different floating-point ABI
---
 games/widelands/Makefile | 1 +
 1 file changed, 1 insertion(+)

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