Skip to content

Commit

Permalink
rpkg: tell rpmbuild that we use clang
Browse files Browse the repository at this point in the history
This seems to fix fedora-40 build problems.
  • Loading branch information
stsp committed Mar 6, 2024
1 parent 6c28295 commit a1dbadb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions fdpp.spec.rpkg
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ It is based on a FreeDOS kernel ported to modern C++.
%prep
{{{ git_dir_setup_macro }}}

%global toolchain clang

%build
pipx install meson
export PATH=$PATH:/builddir/.local/bin
Expand Down
2 changes: 1 addition & 1 deletion fdpp/kernel/toolchain.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[binaries]
nasm = 'nasm-segelf'
c = 'gcc'
c = 'clang'
cpp = 'clang++'
strip = 'llvm-strip'
pkg-config = 'pkg-config'
Expand Down

0 comments on commit a1dbadb

Please sign in to comment.