[pypy-commit] pypy default: fix - link_flags is a tuple not a list

mattip pypy.commits at gmail.com
Mon Jan 25 15:15:05 EST 2016


Author: mattip <matti.picus at gmail.com>
Branch: 
Changeset: r81936:e8e0169d3a13
Date: 2016-01-25 22:00 +0200
http://bitbucket.org/pypy/pypy/changeset/e8e0169d3a13/

Log:	fix - link_flags is a tuple not a list

diff --git a/rpython/translator/platform/windows.py b/rpython/translator/platform/windows.py
--- a/rpython/translator/platform/windows.py
+++ b/rpython/translator/platform/windows.py
@@ -151,7 +151,7 @@
 
             # Increase stack size, for the linker and the stack check code.
             stack_size = 8 << 20  # 8 Mb
-            self.link_flags.append('/STACK:%d' % stack_size)
+            self.link_flags = self.link_flags + ('/STACK:%d' % stack_size,)
             # The following symbol is used in c/src/stack.h
             self.cflags.append('/DMAX_STACK_SIZE=%d' % (stack_size - 1024))
 


More information about the pypy-commit mailing list