13 lines
740 B
Diff
13 lines
740 B
Diff
|
diff -up Python-2.6.6/Lib/distutils/sysconfig.py.distutils-cflags Python-2.6.6/Lib/distutils/sysconfig.py
|
||
|
--- Python-2.6.6/Lib/distutils/sysconfig.py.distutils-cflags 2011-08-12 17:18:17.833091153 -0400
|
||
|
+++ Python-2.6.6/Lib/distutils/sysconfig.py 2011-08-12 17:18:27.449106938 -0400
|
||
|
@@ -187,7 +187,7 @@ def customize_compiler(compiler):
|
||
|
if 'LDFLAGS' in os.environ:
|
||
|
ldshared = ldshared + ' ' + os.environ['LDFLAGS']
|
||
|
if 'CFLAGS' in os.environ:
|
||
|
- cflags = opt + ' ' + os.environ['CFLAGS']
|
||
|
+ cflags = cflags + ' ' + os.environ['CFLAGS']
|
||
|
ldshared = ldshared + ' ' + os.environ['CFLAGS']
|
||
|
if 'CPPFLAGS' in os.environ:
|
||
|
cpp = cpp + ' ' + os.environ['CPPFLAGS']
|