Skip to content

Commit

Permalink
x11-wm/hyprland: unbreak build WITH_LTO
Browse files Browse the repository at this point in the history
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')
  • Loading branch information
jbeich committed Apr 16, 2023
1 parent 2dd3100 commit 2ce01a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x11-wm/hyprland/Makefile
Expand Up @@ -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}
Expand Down

0 comments on commit 2ce01a0

Please sign in to comment.