]> git.apps.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)
committerKefu Chai <tchaikov@gmail.com>
Thu, 4 Aug 2022 03:02:16 +0000 (11:02 +0800)
commit336fe86af86c6e7becd8c3f9e8c88db4f22fbe02
treed5be05c99a66f9820df738d0757cf2f1be3d4e04
parentd32a19abe14c2b4887a2ad5bed53f510871ae4a9
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>
ceph.spec.in