Skip to content

Commit afbb604

Browse files
committed
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: 8451454 (Port changes from RHEL 9)
1 parent 172a0aa commit afbb604

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,8 @@ echo "%%clang%{maj_ver}_resource_dir %%{_prefix}/lib/clang/%{maj_ver}" >> %{buil
12851285
%if %{maj_ver} >=18
12861286
%global cfg_file_content --gcc-triple=%{_target_cpu}-redhat-linux
12871287

1288-
%if %{defined rhel} && 0%{?rhel} < 10
1288+
# We want to use DWARF-5 on all snapshot builds.
1289+
%if %{without snapshot_build} && %{defined rhel} && 0%{?rhel} < 10
12891290
%global cfg_file_content %{cfg_file_content} -gdwarf-4 -g0
12901291
%endif
12911292

0 commit comments

Comments
 (0)