From 51eb4d24518eaacbbe35307adb268357994bd963 Mon Sep 17 00:00:00 2001 From: Christoph Erhardt Date: Sat, 16 Apr 2022 17:09:05 +0200 Subject: [PATCH] Enable libdwarf-tools build dependency for el8 and above `dwarfdump` is conditionally required by some unit tests; without it, these tests are skipped. The version available in el8 doesn't work, but the (EPEL-provided) one in el9 does. --- mold.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mold.spec b/mold.spec index fe30395..c122ce3 100644 --- a/mold.spec +++ b/mold.spec @@ -45,7 +45,7 @@ BuildRequires: glibc-static %ifarch x86_64 BuildRequires: /usr/lib/libc.a %endif -%if 0%{?fedora} +%if 0%{!?el8} BuildRequires: libdwarf-tools %endif BuildRequires: libstdc++-static