git: 5fd1759d2a4e - main - multimedia/svt-av1: disable LTO on riscv64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 25 Oct 2021 09:50:55 UTC
The branch main has been updated by pkubaj:

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

commit 5fd1759d2a4e031d77db7504c718eb7c8d69de4c
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-10-25 09:44:59 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-10-25 09:44:59 +0000

    multimedia/svt-av1: disable LTO on riscv64
    
    Untested, but probably fixes build:
    ld: error: lto.tmp: cannot link object files with different floating-point ABI
---
 multimedia/svt-av1/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multimedia/svt-av1/Makefile b/multimedia/svt-av1/Makefile
index 84935f4844bd..a1106a164f3d 100644
--- a/multimedia/svt-av1/Makefile
+++ b/multimedia/svt-av1/Makefile
@@ -32,6 +32,7 @@ CMAKE_OFF=	NATIVE
 OPTIONS_DEFINE=	LTO
 OPTIONS_DEFAULT=LTO
 OPTIONS_EXCLUDE_powerpc64=	${"${/usr/bin/ld:L:tA}"==/usr/bin/ld.lld:?LTO:} # LLVM bug 47353
+OPTIONS_EXCLUDE_riscv64=	LTO
 
 LTO_CMAKE_BOOL=		CMAKE_INTERPROCEDURAL_OPTIMIZATION
 LTO_CMAKE_ON=		-DCMAKE_POLICY_DEFAULT_CMP0069:STRING=NEW