Skip to content

Commit 73ccf6e

Browse files
authored
Merge pull request ceph#46355 from tchaikov/wip-no-annobin
ceph.spec.in: disable annobin plugin if compile with gcc-toolset Reviewed-by: Yuri Weinstein <[email protected]>
2 parents 6db9011 + 5a78fe1 commit 73ccf6e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ceph.spec.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@
145145
%endif
146146
%endif
147147

148+
%if 0%{with seastar}
149+
# disable -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1, as gcc-toolset-{9,10}-annobin
150+
# do not provide gcc-annobin.so anymore, despite that they provide annobin.so. but
151+
# redhat-rpm-config still passes -fplugin=gcc-annobin to the compiler.
152+
%undefine _annotated_build
153+
%endif
154+
148155
#################################################################################
149156
# main package definition
150157
#################################################################################

0 commit comments

Comments
 (0)