ref: 6d47c25f6fd64dd0681477ff248419fe70e495c4
parent: 2fcd19f16eafc8ce22407334ee9ae0239f4e0be2
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
+
--
⑨