From 154be768acd17186efbc9bae881e308df618831d Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Tue, 6 Dec 2022 09:59:10 +0100 Subject: [PATCH] explicitly define directories for compat builds --- lld.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/lld.spec b/lld.spec index 0c8bbb0..565fee8 100644 --- a/lld.spec +++ b/lld.spec @@ -109,6 +109,7 @@ sed 's/add_subdirectory(tools\/lld)//' -i CMakeLists.txt -DCMAKE_SKIP_RPATH:BOOL=ON \ -DPYTHON_EXECUTABLE=%{__python3} \ %if %{with compat_build} + -DLLVM_CMAKE_DIR=%{install_libdir}/cmake/llvm \ -DLLVM_INCLUDE_TESTS=OFF \ %else -DLLVM_INCLUDE_TESTS=ON \