Merge pull request #46355 from tchaikov/wip-no-annobin

ceph.spec.in: disable annobin plugin if compile with gcc-toolset

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
This commit is contained in:
Kefu Chai 2022-05-21 17:34:02 +08:00 committed by GitHub
commit 73ccf6ead8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,6 +145,13 @@
%endif %endif
%endif %endif
%if 0%{with seastar}
# disable -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1, as gcc-toolset-{9,10}-annobin
# do not provide gcc-annobin.so anymore, despite that they provide annobin.so. but
# redhat-rpm-config still passes -fplugin=gcc-annobin to the compiler.
%undefine _annotated_build
%endif
################################################################################# #################################################################################
# main package definition # main package definition
################################################################################# #################################################################################