You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
740 B
12 lines
740 B
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']
|
|
|