[pypy-commit] pypy reflex-support: add rule to create .s from .cxx

wlav noreply at buildbot.pypy.org
Thu Apr 18 23:37:32 CEST 2013


Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: reflex-support
Changeset: r63489:56e32cdbf135
Date: 2013-04-12 12:54 -0700
http://bitbucket.org/pypy/pypy/changeset/56e32cdbf135/

Log:	add rule to create .s from .cxx

diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py
--- a/rpython/translator/c/genc.py
+++ b/rpython/translator/c/genc.py
@@ -462,6 +462,7 @@
             else:
                 mk.definition('OBJECTS', '$(ASMLBLFILES) gcmaptable.s')
                 mk.rule('%.s', '%.c', '$(CC) $(CFLAGS) $(CFLAGSEXTRA) -frandom-seed=$< -o $@ -S $< $(INCLUDEDIRS)')
+                mk.rule('%.s', '%.cxx', '$(CXX) $(CFLAGS) $(CFLAGSEXTRA) -frandom-seed=$< -o $@ -S $< $(INCLUDEDIRS)')
                 mk.rule('%.lbl.s %.gcmap', '%.s',
                         [
                              '$(PYTHON) $(RPYDIR)/translator/c/gcc/trackgcroot.py '


More information about the pypy-commit mailing list