mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Keep using DWARF-5 on all snapshot builds
We want to continue testing DWARF-5 on all snapshot builds, including on
RHEL 8 and 9.
This is in-sync with
https://src.fedoraproject.org/tests/clang/pull-request/48 .
Fixes: 8451454bdb
(Port changes from RHEL 9)
This commit is contained in:
parent
172a0aa9ed
commit
afbb604baf
1 changed files with 2 additions and 1 deletions
|
@ -1285,7 +1285,8 @@ echo "%%clang%{maj_ver}_resource_dir %%{_prefix}/lib/clang/%{maj_ver}" >> %{buil
|
||||||
%if %{maj_ver} >=18
|
%if %{maj_ver} >=18
|
||||||
%global cfg_file_content --gcc-triple=%{_target_cpu}-redhat-linux
|
%global cfg_file_content --gcc-triple=%{_target_cpu}-redhat-linux
|
||||||
|
|
||||||
%if %{defined rhel} && 0%{?rhel} < 10
|
# We want to use DWARF-5 on all snapshot builds.
|
||||||
|
%if %{without snapshot_build} && %{defined rhel} && 0%{?rhel} < 10
|
||||||
%global cfg_file_content %{cfg_file_content} -gdwarf-4 -g0
|
%global cfg_file_content %{cfg_file_content} -gdwarf-4 -g0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue