-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[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 | ||
|