- Use x86_64-redhat-linux as default gcc triple for x86_64_v2
This commit is contained in:
parent
a3d3baab55
commit
1a99fbd6a1
10
llvm.spec
10
llvm.spec
@ -177,7 +177,7 @@
|
||||
#region main package
|
||||
Name: %{pkg_name_llvm}
|
||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
|
||||
Release: 5%{?dist}
|
||||
Release: 5%{?dist}.alma.1
|
||||
Summary: The Low Level Virtual Machine
|
||||
|
||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
||||
@ -1221,9 +1221,14 @@ echo "%%clang%{maj_ver}_resource_dir %%{_prefix}/lib/clang/%{maj_ver}" >> %{buil
|
||||
# Install config file for clang
|
||||
%if %{maj_ver} >=18
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/%{pkg_name_clang}/
|
||||
%ifarch x86_64_v2
|
||||
echo "--gcc-triple=x86_64-redhat-linux" >> %{buildroot}%{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-clang.cfg
|
||||
echo "--gcc-triple=x86_64-redhat-linux" >> %{buildroot}%{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-clang++.cfg
|
||||
%else
|
||||
echo "--gcc-triple=%{_target_cpu}-redhat-linux" >> %{buildroot}%{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-clang.cfg
|
||||
echo "--gcc-triple=%{_target_cpu}-redhat-linux" >> %{buildroot}%{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-clang++.cfg
|
||||
%endif
|
||||
%endif
|
||||
|
||||
#endregion CLANG installation
|
||||
|
||||
@ -2378,6 +2383,9 @@ fi
|
||||
|
||||
#region changelog
|
||||
%changelog
|
||||
* Fri Dec 06 2024 Eduard Abdullin <eabdullin@almalinux.org> - 19.1.1-5
|
||||
- Use x86_64-redhat-linux as default gcc triple for x86_64_v2
|
||||
|
||||
* Mon Oct 14 2024 Nikita Popov <npopov@redhat.com> - 19.1.1-5
|
||||
- Add missing requires
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user