Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2023 20:53:10 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: 2ce01a07d7c9 - main - x11-wm/hyprland: unbreak build WITH_LTO
Message-ID:  <202304162053.33GKrAPJ008929@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=2ce01a07d7c9c9e6b8a5fdcb58e46506331e3247

commit 2ce01a07d7c9c9e6b8a5fdcb58e46506331e3247
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:50:32 +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')
---
 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.33GKrAPJ008929>