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
|
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=\
|
PGENOFILES=\
|
||||||
acceler.$O\
|
acceler.$O\
|
||||||
bitset.$O\
|
bitset.$O\
|
||||||
|
@ -37,8 +43,9 @@ PGENOFILES=\
|
||||||
pgenmain.$O\
|
pgenmain.$O\
|
||||||
printgrammar.$O\
|
printgrammar.$O\
|
||||||
tokenizer_pgen.$O\
|
tokenizer_pgen.$O\
|
||||||
../Objects/obmalloc.$O\
|
obmalloc.$O\
|
||||||
../Python/mysnprintf.$O\
|
mysnprintf.$O\
|
||||||
|
|
||||||
$O.pgen: $PGENOFILES
|
$O.pgen: $PGENOFILES
|
||||||
$LD -o $target $prereq
|
$LD -o $target $prereq
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue