git: 6e98271eb57d - main - graphics/libjxl: unbreak on riscv64 after 32c2b95c682e

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 27 Mar 2022 21:18:18 UTC
The branch main has been updated by jbeich:

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

commit 6e98271eb57db88b3b6582c1645445cb075213e0
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-03-27 21:12:57 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-03-27 21:17:50 +0000

    graphics/libjxl: unbreak on riscv64 after 32c2b95c682e
    
    Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi)
    ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
    c++: error: linker command failed with exit code 1 (use -v to see invocation)
    
    Reported by:    pkg-fallout
---
 graphics/libjxl/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile
index ef51f97e982f..edb035777cdf 100644
--- a/graphics/libjxl/Makefile
+++ b/graphics/libjxl/Makefile
@@ -42,6 +42,7 @@ OPTIONS_DEFINE=	GIF JPEG LTO MANPAGES OPENEXR PIXBUF PNG
 OPTIONS_DEFAULT=GIF JPEG LTO MANPAGES OPENEXR PIXBUF PNG
 OPTIONS_EXCLUDE_i386=	LTO # ConvolutionWithTranspose(): JXL_CHECK: out->xsize() == in.ysize()
 OPTIONS_EXCLUDE_powerpc64=	${"${/usr/bin/ld:L:tA}"==/usr/bin/ld.lld:?LTO:} # https://github.com/llvm/llvm-project/issues/46697
+OPTIONS_EXCLUDE_riscv64=	LTO # bug 262871
 OPTIONS_SUB=	yes
 
 GIF_LIB_DEPENDS=	libgif.so:graphics/giflib