Gentoo ran into this same issue some time ago. I've confirmed that build flags are correctly passed when building the Python extensions with the attached patch.
** Patch added: "lp2078244-v2.debdiff" https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2078244/+attachment/5824459/+files/lp2078244-v2.debdiff -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs