]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: call %enable_devtoolset11 on centos8
authorKefu Chai <tchaikov@gmail.com>
Thu, 4 Aug 2022 01:00:29 +0000 (09:00 +0800)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 10 Aug 2022 20:46:46 +0000 (16:46 -0400)
commit906642a9257480b402feb3a60398432a32379f14
treef51703ee9899d78c203b960fbe11dabe5d485356
parent61178502ce3684ae3e153435f7caa68d3f12a6a0
ceph.spec.in: call %enable_devtoolset11 on centos8

before this change %enable_devtoolset11 is called only when building
with crimson on centos8.

after this change %enable_devtoolset11 is called when building on
centos8. because we've started using gcc-toolset-11 for building
rpm packages on centos8 after the C++20 migration. so, to build
with gcc-11, we need to enable it.

also, because gcc-toolset-11 is used, we have to disable
annotated_build.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 336fe86af86c6e7becd8c3f9e8c88db4f22fbe02)
ceph.spec.in