]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - python/patches/00168-distutils-cflags.patch
tzdata: Update to 2014j
[people/ms/ipfire-3.x.git] / python / patches / 00168-distutils-cflags.patch
1 diff -up Python-2.6.6/Lib/distutils/sysconfig.py.distutils-cflags Python-2.6.6/Lib/distutils/sysconfig.py
2 --- Python-2.6.6/Lib/distutils/sysconfig.py.distutils-cflags 2011-08-12 17:18:17.833091153 -0400
3 +++ Python-2.6.6/Lib/distutils/sysconfig.py 2011-08-12 17:18:27.449106938 -0400
4 @@ -187,7 +187,7 @@ def customize_compiler(compiler):
5 if 'LDFLAGS' in os.environ:
6 ldshared = ldshared + ' ' + os.environ['LDFLAGS']
7 if 'CFLAGS' in os.environ:
8 - cflags = opt + ' ' + os.environ['CFLAGS']
9 + cflags = cflags + ' ' + os.environ['CFLAGS']
10 ldshared = ldshared + ' ' + os.environ['CFLAGS']
11 if 'CPPFLAGS' in os.environ:
12 cpp = cpp + ' ' + os.environ['CPPFLAGS']