]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind: do not check MFLAGS
authorKefu Chai <kchai@redhat.com>
Thu, 16 Aug 2018 09:25:04 +0000 (17:25 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 16 Aug 2018 10:06:11 +0000 (18:06 +0800)
commit41ca2e8383640ee3465e47097ba1b6d238d9b191
tree7b408fd7d4e4911326ce78c8a97bd604d490e07d
parentb0b616df7bf4459ea567849a1357d2dc89d419f4
pybind: do not check MFLAGS

clang does not check for directories passed by -iquote/path/to/foo.h, if
a header is included using `#include <foo.h>`

it complains:

/home/kefu/ceph/src/pybind/rados/tmpwzjOsS/rados_dummy.c:2:10: error:
'rados/librados.h' file not found with <angled> include; use "quotes"
instead
         ^~~~~~~~~~~~~~~~~~
         "rados/librados.h"
1 error generated.

and MFLAGS does not exist in the env variables of setup.py launched by
the top-level make.

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