]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind: customize compiler before checking cflags
authorKefu Chai <kchai@redhat.com>
Mon, 10 Feb 2020 11:13:47 +0000 (19:13 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 10 Feb 2020 14:10:03 +0000 (22:10 +0800)
commit54bcc1603b6a874bb61c3ba9760f54bb9e1b07e7
tree96a666025b894bc0100a902a587fc763a34f91cb
parent67a2a4e7aa851a21c94415de4aaff655ae3bfaed
pybind: customize compiler before checking cflags

otherwise we are always looking at the default compiler on 'unix' --
'cc'. and will fail to filter cflags not supported by clang, if we
are compiling the python bindings using clang.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/cephfs/setup.py
src/pybind/rados/setup.py
src/pybind/rbd/setup.py
src/pybind/rgw/setup.py