[pypy-svn] r65247 - pypy/branch/pyjitpl5/pypy/translator/c

arigo at codespeak.net arigo at codespeak.net
Mon May 11 23:18:13 CEST 2009


Author: arigo
Date: Mon May 11 23:18:13 2009
New Revision: 65247

Modified:
   pypy/branch/pyjitpl5/pypy/translator/c/genc.py
Log:
It is convenient that "make lldebug" compiles with -O0 instead of -O1,
to prevent all optimizations from gcc.


Modified: pypy/branch/pyjitpl5/pypy/translator/c/genc.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/translator/c/genc.py	(original)
+++ pypy/branch/pyjitpl5/pypy/translator/c/genc.py	Mon May 11 23:18:13 2009
@@ -465,7 +465,7 @@
             ('no_obmalloc', '', '$(MAKE) CFLAGS="-g -O1 -DRPY_ASSERT -DNO_OBMALLOC" $(TARGET)'),
             ('linuxmemchk', '', '$(MAKE) CFLAGS="-g -O1 -DRPY_ASSERT -DLINUXMEMCHK" $(TARGET)'),
             ('llsafer', '', '$(MAKE) CFLAGS="-O2 -DRPY_LL_ASSERT" $(TARGET)'),
-            ('lldebug', '', '$(MAKE) CFLAGS="-g -O1 -DRPY_ASSERT -DRPY_LL_ASSERT" $(TARGET)'),
+            ('lldebug', '', '$(MAKE) CFLAGS="-g -DRPY_ASSERT -DRPY_LL_ASSERT" $(TARGET)'),
             ('profile', '', '$(MAKE) CFLAGS="-g -O1 -pg $(CFLAGS)" LDFLAGS="-pg $(LDFLAGS)" $(TARGET)'),
             ]
         if self.has_profopt():



More information about the Pypy-commit mailing list