[Fedora-packaging] Setting CFLAGS when building python packages

Sergio Pascual sergio.pasra at gmail.com
Fri Jul 5 10:02:58 UTC 2013


Hello,


I was wandering if it is still needed to put set CFLAGS before compilling
python extensions, like this:

CFLAGS="%{optflags}" %{__python} setup.py build

There is nothing about it in the guidelines, altough I recall reading about
it, so perhaps it was removed from the wiki?

When comparing the compilation lines with and without setting CFLAGS, I see
lots of repeated switches but nothing clearly different.

Regards, Sergio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20130705/4288c00f/attachment.html>


More information about the packaging mailing list