[Distutils] overriding build options

Keith Jackson (DSD staff) krjackson@lbl.gov
Wed Dec 11 17:37:23 2002


Hi,
I've got what might be a simple question, but I haven't found an answer 
yet. The default python build with gcc uses "-Wall" and 
"-fstrict-prototypes". I'd like to be able to build extension modules 
without these flags. SWIG generated code throws a lot of warnings, as 
does the libraries I'm wrapping, and it makes it very hard for users to 
see what is actually going on. What is the right way to remove these 
from the compile command?
thanks in advance,
--keith
----------------------------------------------------------------
Keith R. Jackson                        KRJackson@lbl.gov
Secure Grid Technologies Group		(510) 486-4401
Lawrence Berkeley National Laboratory  	http://www-itg.lbl.gov/~kjackson/