The value of BASECFLAGS from
/prefix/lib/pythonver/config/Makefile is not present on
the compile command for modules being built by
distutils ("python setup.py build"). It seems that
only the value of OPT is passed along.
This is insufficient when BASECFLAGS contains
"-fno-static-aliasing", since recent versions of gcc
will emit incorrect (crashing) code if this flag is not
provided, when compiling certain modules (the mx
products from egenix, for example).
I did try to set CFLAGS in my environment, as directed
by documentation, but this also had zero effect on the
final build command.
|