Closed J08nY closed 9 months ago
@antonio-rojas - does is make sense for Arch? (by the way, we just had new release here)
This works for me, yes.
do you mean it's meaningful for Arch to merge it?
As the OP mentioned, it would allow us to build the package without doing any modification to our default CFLAGS beforehand.
Thanks! I can now install this in a virtualenv from source(& pypi when it gets release).
Some distributions add
_FORTIFY_SOURCE
globally, which results in the compiler option-Wp,-D_FORTIFY_SOURCE-2
being passed to the compiler. Sadly, this option is not overridden by theundef_macros
setuptools parameter, as that only does-U_FORTIFY_SOURCE
but the-Wp
option passes directly to the preprocessor. Thus ArchLinux for example had to do a CFLAGS change in their distribution of the cysignals package, see here. The package is not compilable by default on ArchLinux from pypi.This PR fixes this issue, not in the nicest possible way, but certainly sufficiently.