Blame SOURCES/00168-distutils-cflags.patch

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