]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: use %enable_devtoolset11 to enable GTS-11
authorKefu Chai <tchaikov@gmail.com>
Mon, 27 Jun 2022 13:18:57 +0000 (21:18 +0800)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 10 Aug 2022 20:02:51 +0000 (16:02 -0400)
commite6f71b7ad629e6cf0b68b5157e2db5504b8a9493
treefc822f531d56032f78df5a4e0a97f2783b199983
parentedf3e8b4be88ff7b661166c3c8c1cda7de512e40
ceph.spec.in: use %enable_devtoolset11 to enable GTS-11

%enable_devtoolset11 redefines %___build_pre by appending
`source scl_source enable gcc-toolset-11` to it. `___build_pre` should
be able to populate this setting to both %build and %install. and hence
address the FTBFS where we need to use the tool chain from GTS-11.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 49459d92fec553246b35719e9defc0ad7582f701)
(cherry picked from commit 89a6a2d80236db0cb2ef54325ebc483c5491da25)
ceph.spec.in