From 4d14ec1013b648539a3d68a4e829c5835deae9dc Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Fri, 28 Nov 2025 11:46:16 +0200 Subject: [PATCH] Revert "[Minor] Use clang for build on EL10" This reverts commit ac4c6ec4210b97886327f2c526957207ca9d8030. --- rpm/rspamd.spec | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rpm/rspamd.spec b/rpm/rspamd.spec index ba12105475..a0f3af20b1 100644 --- a/rpm/rspamd.spec +++ b/rpm/rspamd.spec @@ -28,9 +28,6 @@ BuildRequires: gcc-toolset-10-gcc-c++ BuildRequires: gcc-toolset-12-gcc-c++ %endif %endif -%if 0%{?el10} -BuildRequires: clang -%endif BuildRequires: file-devel BuildRequires: glib2-devel BuildRequires: lapack-devel @@ -127,11 +124,6 @@ rm -f %{_builddir}/luajit-build/lib/*.so || true %endif %if 0%{?el8} -DLINKER_NAME=ld.bfd \ -%endif -%if 0%{?el10} - -DCMAKE_C_COMPILER=clang \ - -DCMAKE_CXX_COMPILER=clang++ \ - -DLINKER_NAME=lld \ %endif -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCONFDIR=%{_sysconfdir}/rspamd \ -- 2.47.3