mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-12-01 03:32:55 +00:00
Fix --gcc-install-dir
This should fix this error: ``` clang: error: '/opt/rh/gcc-toolset-14/root/usr' does not contain a GCC installation ```
This commit is contained in:
parent
617e9db92f
commit
b66165f497
1 changed files with 1 additions and 1 deletions
|
@ -1290,7 +1290,7 @@ echo "%%clang%{maj_ver}_resource_dir %%{_prefix}/lib/clang/%{maj_ver}" >> %{buil
|
|||
%endif
|
||||
|
||||
%if %{defined gts_version}
|
||||
%global cfg_file_content %{cfg_file_content} --gcc-install-dir=/opt/rh/gcc-toolset-%{gts_version}/root/usr
|
||||
%global cfg_file_content %{cfg_file_content} --gcc-install-dir=/opt/rh/gcc-toolset-%{gts_version}/root/%{_exec_prefix}/lib/gcc/%{_target_cpu}-redhat-linux/%{gts_version}
|
||||
%endif
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/%{pkg_name_clang}/
|
||||
|
|
Loading…
Reference in a new issue