mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Fix inverted resource dir condition
This commit is contained in:
parent
a9bfa39083
commit
1fc607d3b7
1 changed files with 2 additions and 2 deletions
|
@ -75,9 +75,9 @@ popd
|
||||||
-DCLANG_BUILD_EXAMPLES:BOOL=OFF \
|
-DCLANG_BUILD_EXAMPLES:BOOL=OFF \
|
||||||
-DCLANG_REPOSITORY_STRING="%{?dist_vendor} %{version}-%{release}" \
|
-DCLANG_REPOSITORY_STRING="%{?dist_vendor} %{version}-%{release}" \
|
||||||
%if %{with compat_build}
|
%if %{with compat_build}
|
||||||
-DCLANG_RESOURCE_DIR=../lib/clang/%{maj_ver} \
|
|
||||||
%else
|
|
||||||
-DCLANG_RESOURCE_DIR=../../../lib/clang/%{maj_ver} \
|
-DCLANG_RESOURCE_DIR=../../../lib/clang/%{maj_ver} \
|
||||||
|
%else
|
||||||
|
-DCLANG_RESOURCE_DIR=../lib/clang/%{maj_ver} \
|
||||||
%endif
|
%endif
|
||||||
-DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra \
|
-DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra \
|
||||||
-DCLANG_CONFIG_FILE_SYSTEM_DIR=%{_sysconfdir}/%{pkg_name_clang}/ \
|
-DCLANG_CONFIG_FILE_SYSTEM_DIR=%{_sysconfdir}/%{pkg_name_clang}/ \
|
||||||
|
|
Loading…
Reference in a new issue