Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2023 20:53:37 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: ced38c2645ef - 2023Q2 - x11-wm/hyprland: unbreak build WITH_LTO
Message-ID:  <202304162053.33GKrbLt009156@gitrepo.freebsd.org>

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

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

commit ced38c2645efe0864a0dff186ca3465739a982c7
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-16 20:45:53 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-16 20:53:33 +0000

    x11-wm/hyprland: unbreak build WITH_LTO
    
    llvm-ar: error: lib/libc++experimental.a: Unknown attribute kind (86) (Producer: 'LLVM16.0.1' Reader: 'LLVM 15.0.7')
    llvm-ar: error: subprojects/udis86/liblibudis86.a: Unknown attribute kind (86) (Producer: 'LLVM16.0.1' Reader: 'LLVM 15.0.7')
    (cherry picked from commit 2ce01a07d7c9c9e6b8a5fdcb58e46506331e3247)
---
 x11-wm/hyprland/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index 9da5b7b03fce..c5f489752d67 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -68,6 +68,7 @@ post-install:
 .if ${CXX} == c++ && exists(/usr/lib/libc++.so)
 .if !exists(/usr/include/c++/v1/__ranges/as_rvalue_view.h) || make(makesum) || make(fetch)
 USES+=		llvm:min=16,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}



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