summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--waterfox/waterfox.spec6
1 files changed, 2 insertions, 4 deletions
diff --git a/waterfox/waterfox.spec b/waterfox/waterfox.spec
index d9c7e35..c6894a1 100644
--- a/waterfox/waterfox.spec
+++ b/waterfox/waterfox.spec
@@ -300,19 +300,17 @@ BuildRequires: pkgconfig(icu-i18n)
BuildRequires: yasm
BuildRequires: llvm
BuildRequires: llvm-devel
-# this one differs from chinfo. It needs to be before clang, for el7
-%if 0%{?build_with_clang}
+%if !0%{?el7}
BuildRequires: clang
BuildRequires: clang-libs
BuildRequires: clang-devel
BuildRequires: lld
BuildRequires: libstdc++-static
+%endif
%if 0%{?build_with_pgo}
BuildRequires: compiler-rt
%endif
-%else
BuildRequires: gcc-c++
-%endif
BuildRequires: bash
BuildRequires: patchutils
bgstack15