diff --git a/CHANGELOG.md b/CHANGELOG.md index 3feba4037..f1d2afe09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +- Android builds compile Ziran's runtime for each ABI with the pinned + toolchain's own `zi2c` (`GEN_ZI2C`), so the modules Ziran generates C for + build on the host instead of with a `zi2c` built for the device; the ZX + player APK builds again and runs `app.zx` natively on the ARMv7 Moto. - Kryon's renderer and SDL3 artifacts no longer list the top-level `Makefile` as a recipe input. Their providers never read it, and Ziran refuses an artifact whose inputs change while it builds, so an edit there failed a diff --git a/scripts/build_android_runtime.py b/scripts/build_android_runtime.py index 05c84c7ab..bf878d9d2 100644 --- a/scripts/build_android_runtime.py +++ b/scripts/build_android_runtime.py @@ -25,6 +25,9 @@ command = [ "CC=" + a.cc, "AR=" + a.ar, "OBJCOPY=" + a.objcopy, + # The modules Ziran generates C for compile on this host, with the + # pinned toolchain's own zi2c, not one built for the device. + "GEN_ZI2C=" + str(source / "build/bin/zi2c"), "CFLAGS=" + a.flags, "FRAMEFLAGS=-Wframe-larger-than=16384", str(output / "libziran.a"),