Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2023 16:04:29 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5e71e4d45129 - main - emulators/yuzu: unbreak LTO on FreeBSD < 13.2
Message-ID:  <202302281604.31SG4TT2087076@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

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

commit 5e71e4d451294a5456ceedd94512fea1d958e2c8
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-28 03:07:35 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-28 16:03:50 +0000

    emulators/yuzu: unbreak LTO on FreeBSD < 13.2
    
    /usr/bin/llvm-ar: error: src/video_core/libvideo_core.a: Not an int attribute (Producer: 'LLVM15.0.7' Reader: 'LLVM 13.0.0')
---
 emulators/yuzu/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile
index aea3102ac570..2fdb96ab627c 100644
--- a/emulators/yuzu/Makefile
+++ b/emulators/yuzu/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	yuzu
 PORTVERSION=	s20230226
+PORTREVISION=	1
 CATEGORIES=	emulators wayland
 .if make(makesum)
 MASTER_SITES=	https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb
@@ -150,11 +151,11 @@ post-patch-VAAPI-off:
 .if !exists(/usr/include/c++/v1/__ranges/as_rvalue_view.h) || make(makesum) || make(fetch)
 . if !exists(/usr/include/c++/v1/__memory/concepts.h)
 USES+=		llvm:min=14,build
+PATH:=		${LLVM_PREFIX}/bin:${PATH} # XXX _CMAKE_TOOLCHAIN_SUFFIX vs. devel/llvm*
 CC=		clang${LLVM_VERSION}
 CXX=		clang++${LLVM_VERSION}
 CPP=		clang-cpp${LLVM_VERSION}
 CONFIGURE_ENV+=	CC="${CC}" CXX="${CXX}" CPP="${CPP}"
-OPTIONS_EXCLUDE+=	LTO # llvm-ar
 . endif
 
 # XXX Move into separate port and standardize via USES



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302281604.31SG4TT2087076>