[pypy-svn] r33189 - pypy/dist/pypy/translator/c

arigo at codespeak.net arigo at codespeak.net
Wed Oct 11 20:32:07 CEST 2006


Author: arigo
Date: Wed Oct 11 20:32:06 2006
New Revision: 33189

Modified:
   pypy/dist/pypy/translator/c/genc.py
Log:
A not-too-clean way to get rid of the -O2 flag when recompiling the
target "debug" with the Makefile.



Modified: pypy/dist/pypy/translator/c/genc.py
==============================================================================
--- pypy/dist/pypy/translator/c/genc.py	(original)
+++ pypy/dist/pypy/translator/c/genc.py	Wed Oct 11 20:32:06 2006
@@ -834,10 +834,10 @@
 \trm -f $(OBJECTS) $(TARGET)
 
 debug:
-\tmake CFLAGS="-g $(CFLAGS)"
+\tmake CFLAGS="-g"
 
 debug_exc:
-\tmake CFLAGS="-g -DDO_LOG_EXC $(CFLAGS)"
+\tmake CFLAGS="-g -DDO_LOG_EXC"
 
 profile:
 \tmake CFLAGS="-pg $(CFLAGS)" LDFLAGS="-pg $(LDFLAGS)"



More information about the Pypy-commit mailing list