From 9ab3b5253d3913ae8a89b84c5a6a3af84db67c21 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Apr 15 2024 11:35:46 +0000 Subject: Revert "Use LLVM 18 on s390x" This reverts commit 92149fd0613e775adbbe643ec09e6dfc30b37dc1. --- diff --git a/american-fuzzy-lop.spec b/american-fuzzy-lop.spec index cc0abd7..41c5be7 100644 --- a/american-fuzzy-lop.spec +++ b/american-fuzzy-lop.spec @@ -29,26 +29,20 @@ BuildRequires: gcc-plugin-devel # Rawhide has llvm 18 at the moment, but AFL++ 4.20c complains: # GNUmakefile.llvm:70: you are using an in-development llvm version - this might break llvm_mode! # and LLVM mode is indeed broken. So stick with LLVM 17 for now. -%ifnarch x86_64 -BuildRequires: clang -BuildRequires: llvm-devel -%else +#BuildRequires: clang +#BuildRequires: llvm-devel BuildRequires: clang17 BuildRequires: llvm17-devel -%endif %ifarch x86_64 #BuildRequires: lld BuildRequires: lld17 %endif -%ifnarch x86_64 -%global llvm_config /usr/bin/llvm-config -%global clang /usr/bin/clang -%global lld /usr/bin/ld.lld -%else +#%%global llvm_config /usr/bin/llvm-config +#%%global clang /usr/bin/clang +#%%global lld /usr/bin/ld.lld %global llvm_config /usr/bin/llvm-config-17 %global clang /usr/bin/clang-17 %global lld /usr/bin/ld.lld-17 -%endif %global clang_major %(command -v %{clang} >/dev/null && %{clang} --version | sed -n -r 's/clang version ([0-9]+).*/\\1/p') BuildRequires: make