[issue10847] Distutils drops -fno-strict-aliasing when CFLAGS are set

2011-02-03 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. It came up on the debian-python ML recently too, and is actually already reported. Following up on the other report. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> BASECFLAGS are

[issue10847] Distutils drops -fno-strict-aliasing when CFLAGS are set

2011-01-06 Thread Stefan Krah
New submission from Stefan Krah : When CFLAGS are set, distutils drops -fno-strict-aliasing (among other flags): $ python2.7 setup.py build ... gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./src -I/usr/local/include -I/usr/local/include/py