From 64ea1d4d0ff9e66ec6c00739b1bb25bf9965f089 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Tue, 6 Dec 2022 10:01:09 +0100 Subject: [PATCH] explicitly define directories for compat builds --- clang.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang.spec b/clang.spec index 955ef40..e9d883c 100644 --- a/clang.spec +++ b/clang.spec @@ -332,7 +332,7 @@ sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@//g' test/lit.cfg.py %endif %if %{with compat_build} -DCLANG_BUILD_TOOLS:BOOL=OFF \ - -DLLVM_CONFIG:FILEPATH=%{pkg_bindir}/llvm-config-%{maj_ver}-%{__isa_bits} \ + -DLLVM_CMAKE_DIR=%{install_libdir}/cmake/llvm \ -DCMAKE_INSTALL_PREFIX=%{install_prefix} \ -DCLANG_INCLUDE_TESTS:BOOL=OFF \ %else