explicitly define directories for compat builds
This commit is contained in:
parent
063558e729
commit
154be768ac
1
lld.spec
1
lld.spec
@ -109,6 +109,7 @@ sed 's/add_subdirectory(tools\/lld)//' -i CMakeLists.txt
|
|||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||||
-DPYTHON_EXECUTABLE=%{__python3} \
|
-DPYTHON_EXECUTABLE=%{__python3} \
|
||||||
%if %{with compat_build}
|
%if %{with compat_build}
|
||||||
|
-DLLVM_CMAKE_DIR=%{install_libdir}/cmake/llvm \
|
||||||
-DLLVM_INCLUDE_TESTS=OFF \
|
-DLLVM_INCLUDE_TESTS=OFF \
|
||||||
%else
|
%else
|
||||||
-DLLVM_INCLUDE_TESTS=ON \
|
-DLLVM_INCLUDE_TESTS=ON \
|
||||||
|
Loading…
Reference in New Issue
Block a user