[Python-checkins] python/dist/src setup.py,1.217,1.218
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Mon Apr 25 09:14:18 CEST 2005
Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28704
Modified Files:
setup.py
Log Message:
Make parse_makefile fallback to environment variables if nothing is
defined in the makefile. Get CFLAGS from the Makefile, instead of
getting OPT, BASE_CFLAGS and EXTRA_CFLAGS individually.
Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.217
retrieving revision 1.218
diff -u -d -r1.217 -r1.218
--- setup.py 15 Apr 2005 20:32:39 -0000 1.217
+++ setup.py 25 Apr 2005 07:13:42 -0000 1.218
@@ -171,8 +171,8 @@
# unfortunately, distutils doesn't let us provide separate C and C++
# compilers
if compiler is not None:
- (ccshared,opt,base) = sysconfig.get_config_vars('CCSHARED','OPT','BASECFLAGS')
- args['compiler_so'] = compiler + ' ' + opt + ' ' + ccshared + ' ' + base
+ (ccshared,cflags) = sysconfig.get_config_vars('CCSHARED','CFLAGS')
+ args['compiler_so'] = compiler + ' ' + ccshared + ' ' + cflags
self.compiler.set_executables(**args)
build_ext.build_extensions(self)
More information about the Python-checkins
mailing list