ceph/cmake/modules
Kefu Chai c57dbd3451 cmake: pass necessary cflags to build_ext
this fixes:
```
creating
/home/kefu/ceph/build/src/pybind/rados/var/ceph/ceph/build/src/pybind/rados
creating
/home/kefu/ceph/build/src/pybind/rados/var/ceph/ceph/build/src/pybind/rados/pyrex
/usr/bin/gcc-6 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes
-fno-strict-aliasing -iquote /var/ceph/ceph/src/include -fPIC
-I/usr/include/python2.7 -I/usr/include/x86_64-linux-
gnu/python2.7 -I/usr/include/python2.7 -c
/home/kefu/ceph/build/src/pybind/rados/pyrex/rados.c -o
/home/kefu/ceph/build/src/pybind/rados/var/ceph/ceph/build/src/pybind/rados/pyrex/ra
dos.o -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g
-fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -lpython2.
7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
/home/kefu/ceph/build/src/pybind/rados/pyrex/rados.c:239:28: fatal error:
rados/librados.h: No such file or directory
 #include "rados/librados.h"
                            ^
compilation terminated.
```

seems we can not pass the CFLAGS with space in it to setup.py using env variable

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-11 16:23:20 +08:00
..
AddCephTest.cmake cmake: pass CEPH_BUILD_VIRTUALENV to test as an env variable 2016-05-10 21:50:17 +08:00
Distutils.cmake cmake: pass necessary cflags to build_ext 2016-07-11 16:23:20 +08:00
Findaio.cmake CMake - fix check for AIO 2015-09-23 10:55:54 -04:00
Findatomic_ops.cmake CMake - fix libatomic_ops and gperftools checks 2015-09-23 10:55:54 -04:00
Findbabeltrace.cmake cmake: Added #defines to config-h.in.cmake 2016-05-26 17:26:48 -04:00
Findblkid.cmake CMake - fix check for blkid 2015-09-23 10:55:54 -04:00
Findcryptopp.cmake
FindCython.cmake cmake: install cython modules 2016-06-01 23:50:05 +08:00
Finddpdk.cmake cmake: add Find{dpdk,pciaccess}.cmake 2016-02-04 14:03:21 +08:00
Findexecinfo.cmake cmake: musl libc does not implement backtrace. Added feature check and fallback to libexecinfo. 2016-01-29 08:50:46 -05:00
Findfcgi.cmake cmake: Added #defines to config-h.in.cmake 2016-05-26 17:26:48 -04:00
Findfio.cmake
Findfuse.cmake cmake: update FUSE_INCLUDE_DIRS to match autoconf 2015-09-01 14:11:03 -04:00
Findgperftools.cmake CMake - fix libatomic_ops and gperftools checks 2015-09-23 10:55:54 -04:00
FindJeMalloc.cmake cmake: Updated allocator checking 2016-01-05 15:42:06 -05:00
Findkeyutils.cmake cmake: update description for cmake module Findkeyutils.cmake 2016-05-13 22:02:34 +08:00
Findleveldb.cmake CMake - fix check for leveldb 2015-09-23 10:55:54 -04:00
Findlibuuid.cmake CMake - add check for libuuid 2015-09-23 10:55:54 -04:00
Findlttng-ust.cmake cmake: revamp on lttng support 2016-05-27 19:54:42 +08:00
FindLZ4.cmake cmake: add check for liblz4 2016-01-07 03:59:36 -08:00
FindNSPR.cmake
FindNSS.cmake cmake: add nss as a suffix for pk11pub.h 2015-11-12 09:12:17 -08:00
FindOpenLdap.cmake cmake: Added #defines to config-h.in.cmake 2016-05-26 17:26:48 -04:00
Findpciaccess.cmake cmake: add Find{dpdk,pciaccess}.cmake 2016-02-04 14:03:21 +08:00
Findsnappy.cmake cmake: remove the copyright of FindSnappy.cmake 2016-01-28 20:50:51 +08:00
Findtcmalloc.cmake
Findudev.cmake cmake: udev linking and Findudev module changes 2016-01-05 15:42:06 -05:00
Findxfs.cmake CMake - add check for XFS 2015-09-23 10:55:54 -04:00
Findxio.cmake cmake: <UPPERCASED_NAME>_FOUND in Findxio.cmake 2016-05-03 17:36:59 -04:00
GetGitRevisionDescription.cmake Update git rev parsing in CMake 2016-06-10 14:22:31 -04:00
GetGitRevisionDescription.cmake.in Update git rev parsing in CMake 2016-06-10 14:22:31 -04:00