On 16. 01. 23 20:30, Siddhesh Poyarekar wrote:
If it is for distribution packages then I reckon the flags should be
as close as possible for the mere reason of consistency within the
distribution.
Nope, the individual packages with extension modules all¹ use the
%{build_cflags} flags by default.
¹: Technically they are required to and it is really hard not to do that noways.
If they're used for custom built modules (e.g. through
a tool that python auto-generates to build modules), then a very small
subset of the above flags would be necessary to retain binary
compatibility; you should be able to remove most of it.
That is what I thought. Thank you.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok