ref: 8fcedbd2b79fb5a647a5ca71fca7069bf634ab32
parent: 0c2a416328883e8d372233237e95afa0019e8cdb
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Mon Dec 3 22:05:01 EST 2012
python: fix pgen build for other archs
--- a/sys/src/cmd/python/Parser/mkfile
+++ b/sys/src/cmd/python/Parser/mkfile
@@ -22,6 +22,12 @@
CFLAGS=-c -I.. -I../Include -DT$objtype -DPy_BUILD_CORE -DNDEBUG
+obmalloc.$O: ../Objects/obmalloc.c
+ $CC $CFLAGS $prereq
+
+mysnprintf.$O: ../Python/mysnprintf.c
+ $CC $CFLAGS $prereq
+
PGENOFILES=\
acceler.$O\
bitset.$O\
@@ -37,8 +43,9 @@
pgenmain.$O\
printgrammar.$O\
tokenizer_pgen.$O\
- ../Objects/obmalloc.$O\
- ../Python/mysnprintf.$O\
+ obmalloc.$O\
+ mysnprintf.$O\
$O.pgen: $PGENOFILES
$LD -o $target $prereq
+
--
⑨