[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to disable optimization for Python distutils



Seo Sanghyeon writes:
>> To disable optimization when compiling Python modules, just set CFLAGS.
>> Example: CFLAGS=-O0 python setup.py build

On Sat, Sep 17, 2005 at 04:24:16PM +0200, Matthias Klose wrote:
> Not correct. You suppress any other flags which are set in
> /usr/lib/python2.x/config/Makefile

No, it doesn't. CFLAGS is *added* to flags set in Makefile.
Check Python 2.3's distutils/sysconfig.py near line 168.

Seo Sanghyeon



Reply to: