Disable Clang and LLVm plugins on riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-02-13 20:45:48 +02:00
parent f2ce511886
commit 5348c44575
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 12 additions and 1 deletions

View File

@ -2,7 +2,7 @@
Name: annobin
Summary: Annotate and examine compiled binary files
Version: 11.09
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
License: GPLv3+
URL: https://sourceware.org/annobin/
# Maintainer: nickc@redhat.com
@ -25,13 +25,21 @@ URL: https://sourceware.org/annobin/
%bcond_with debuginfod
# Use "--without clangplugin" to disable the building of the annobin plugin for Clang.
%ifnarch riscv64
%bcond_without clangplugin
%else
%bcond_with clangplugin
%endif
# Use "--without gccplugin" to disable the building of the annobin plugin for GCC.
%bcond_without gccplugin
# Use "--without llvmplugin" to disable the building of the annobin plugin for LLVM.
%ifnarch riscv64
%bcond_without llvmplugin
%else
%bcond_with llvmplugin
%endif
# Set this to zero to disable the requirement for a specific version of gcc.
# This should only be needed if there is some kind of problem with the version
@ -522,6 +530,9 @@ fi
#---------------------------------------------------------------------------------
%changelog
* Mon Feb 13 2023 David Abdurachmanov <davidlt@rivosinc.com> - 11.09-1.0.riscv64
- Disable Clang and LLVM plugings on riscv64
* Thu Feb 02 2023 Nick Clifton <nickc@redhat.com> - 11.09-1
- Libannocheck: Fix thinko in debugging code.
- Annocheck: Fix LTO test.