packages: pypy/pypy-cldflags.patch - keep the updated flags in tuple, for c...

jajcus jajcus at pld-linux.org
Fri Jul 15 16:15:16 CEST 2011


Author: jajcus                       Date: Fri Jul 15 14:15:16 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- keep the updated flags in tuple, for compatibility with some code that uses them

---- Files affected:
packages/pypy:
   pypy-cldflags.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/pypy/pypy-cldflags.patch
diff -u packages/pypy/pypy-cldflags.patch:1.1 packages/pypy/pypy-cldflags.patch:1.2
--- packages/pypy/pypy-cldflags.patch:1.1	Fri Jul 15 15:03:33 2011
+++ packages/pypy/pypy-cldflags.patch	Fri Jul 15 16:15:11 2011
@@ -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'
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pypy/pypy-cldflags.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list