python: fix pgen build for other archs
This commit is contained in:
parent
2fcd19f16e
commit
6d47c25f6f
1 changed files with 9 additions and 2 deletions
|
@ -22,6 +22,12 @@ CLEANFILES=$O.pgen
|
|||
|
||||
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 @@ PGENOFILES=\
|
|||
pgenmain.$O\
|
||||
printgrammar.$O\
|
||||
tokenizer_pgen.$O\
|
||||
../Objects/obmalloc.$O\
|
||||
../Python/mysnprintf.$O\
|
||||
obmalloc.$O\
|
||||
mysnprintf.$O\
|
||||
|
||||
$O.pgen: $PGENOFILES
|
||||
$LD -o $target $prereq
|
||||
|
||||
|
|
Loading…
Reference in a new issue