]> git.pld-linux.org Git - packages/pypy.git/blobdiff - pypy-cldflags.patch
- keep the updated flags in tuple, for compatibility with some code that uses them
[packages/pypy.git] / pypy-cldflags.patch
index 4e74fc2a395fe440a40e45266932ed3e178bde4d..6419fb53aafb0c40c64f93bab0fc6671d248db76 100644 (file)
@@ -25,9 +25,9 @@
 -    link_flags = ('-pthread', '-lrt')
 -    cflags = ('-O3', '-pthread', '-fomit-frame-pointer',
 -              '-Wall', '-Wno-unused')
-+    link_flags = os.environ.get("LDFLAGS", "").split() + ['-pthread', '-lrt']
-+    cflags = os.environ.get("CFLAGS", "").split() + ['-pthread', '-fomit-frame-pointer',
-+              '-Wall', '-Wno-unused']
++    link_flags = tuple(os.environ.get("LDFLAGS", "").split() + ['-pthread', '-lrt'])
++    cflags = tuple(os.environ.get("CFLAGS", "").split() + ['-pthread', '-fomit-frame-pointer',
++              '-Wall', '-Wno-unused'])
      standalone_only = ()
      shared_only = ('-fPIC',)
      so_ext = 'so'
This page took 0.081937 seconds and 4 git commands to generate.