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 c549232
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
Expand Up @@ -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
Expand Down Expand Up @@ -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
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 c549232

Please sign in to comment.