Skip to content

Commit

Permalink
use clang to fix runtime error
Browse files Browse the repository at this point in the history
  • Loading branch information
zpc0 committed May 20, 2024
1 parent 340ccb6 commit 7f3f3f7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions monero.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# fix build error on F40+
%global build_type_safety_c 0

# use clang
%global toolchain clang

Name: monero
Version: 0.18.3.3
Release: 4%{?dist}
Expand All @@ -17,8 +20,7 @@ BuildRequires: coreutils
BuildRequires: gnupg2

BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: clang
BuildRequires: pkgconf
BuildRequires: boost-devel
BuildRequires: libsodium-devel
Expand Down Expand Up @@ -104,6 +106,7 @@ install -m 0755 build/release/bin/* %{buildroot}%{_bindir}/
%changelog
* Mon May 20 2024 zpc <[email protected]>
- remove broken patch
- use clang to fix runtime error
* Sun May 19 2024 zpc <[email protected]>
- try to fix runtime error
- print build host cpu info to debug problems
Expand Down

0 comments on commit 7f3f3f7

Please sign in to comment.