[pypy-svn] r59445 - pypy/trunk/pypy/translator/platform

afa at codespeak.net afa at codespeak.net
Mon Oct 27 13:27:49 CET 2008


Author: afa
Date: Mon Oct 27 13:27:49 2008
New Revision: 59445

Modified:
   pypy/trunk/pypy/translator/platform/windows.py
Log:
Don't link incrementally on Windows: otherwise the link is skipped
if the source file was regenerated too quickly.

The previous assert passes in rfficache.py.


Modified: pypy/trunk/pypy/translator/platform/windows.py
==============================================================================
--- pypy/trunk/pypy/translator/platform/windows.py	(original)
+++ pypy/trunk/pypy/translator/platform/windows.py	Mon Oct 27 13:27:49 2008
@@ -101,7 +101,7 @@
 
     def _link(self, cc, ofiles, link_args, standalone, exe_name):
         args = ['/nologo'] + [str(ofile) for ofile in ofiles] + link_args
-        args += ['/out:%s' % (exe_name,)]
+        args += ['/out:%s' % (exe_name,), '/incremental:no']
         if not standalone:
             args = self._args_for_shared(args)
         self._execute_c_compiler(self.link, args, exe_name)



More information about the Pypy-commit mailing list