cs makefile: fix cross-compilation dependency

This commit is contained in:
Matthew Flatt 2020-08-31 08:59:25 -06:00
parent ef9a4a4e29
commit c75d8d71c1

View File

@ -42,3 +42,6 @@ ${xpatch}: ${xpatchobj}
x$(xm).$(m):
$(MAKE) -f Mf-cross m=$(m) xm=$(xm) i=f o=3 d=0 xpatch
mv xpatch x$(xm).$(m)
# Ensure that cross-compiling "nanopass.so" is rebuilt if the host compiler changed
nanopass.so: ${SCHEME} ${SCHEMEHEAPDIRS}/petite.boot ${SCHEMEHEAPDIRS}/scheme.boot