diff --git a/monero.spec b/monero.spec index d8c1b6f..5165ccf 100644 --- a/monero.spec +++ b/monero.spec @@ -17,8 +17,7 @@ BuildRequires: coreutils BuildRequires: gnupg2 BuildRequires: cmake -BuildRequires: gcc -BuildRequires: gcc-c++ +BuildRequires: clang BuildRequires: pkgconf BuildRequires: boost-devel BuildRequires: libsodium-devel @@ -72,6 +71,9 @@ fi %autosetup -n %{name}-source-v%{version} %build +# use clang because gcc 14 seems broken +export CC=clang +export CXX=clang++ %make_build release %install @@ -104,6 +106,7 @@ install -m 0755 build/release/bin/* %{buildroot}%{_bindir}/ %changelog * Mon May 20 2024 zpc - remove broken patch +- use clang to fix runtime error * Sun May 19 2024 zpc - try to fix runtime error - print build host cpu info to debug problems