Evidently, COMPILE_OPTIONS does not get generated by cmake. ;-)
In one of my my attempts, I tried changing:
set(PY_CFLAGS ${COMPILE_OPTIONS})
to:
set(PY_CFLAGS ${CMAKE_C_FLAGS})
but every flag ended up with a trailing \ and gcc choked, and my cmake-
fu is not strong.
For *our* builds, nothing gets appended to PY_CFLAGS, so dropping
CFLAGS="${PY_CFLAGS}" does not miss anything. However, I agree this is
not upstreamable.
I will try to take a another look at this.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078244
Title:
ceph: Does not respect compiler flags for Python extensions
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2078244/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs