Skip to content

Conversation

@alexytomi
Copy link

@alexytomi alexytomi commented Oct 17, 2025

Changes

  • QoL logic to use $ANDROID_NDK_HOME over $ANDROID_NDK, which is old and no longer used
  • Changed assumed android ndk paths from x86 to x86_64
  • Added check to make sure ANDROIDBIN actually set $CC properly
  • Added aarch64 and arm-v7a as a build target
  • Changed armeabi to armv5te because it hasn't been valid since the config.sub regen in d1402af
  • Updated GCC to 4.9, because this is what r10e ships with
  • Updated target to sdk21, nearly no one is going to be on android 4<

Why?

Because this was a headache to try and compile properly. I didn't dare deviate from the prescribed ndk version of the Flite-TTS-Engine-for-Android project for fear of unforeseen issues popping up.

Since most machines nowadays are 64-bit, including github runners, I think it's safe to say this is a better assumption. I've only added things elsewhere.

I reran autoreconf here, am unsure why install-sh hadn't been updated like ever, all the configure scripts are using different versions, this looks like a bad idea.

The change with GCC version being bumped does seem a bit much if it is for backwards compatibility though, but then again, no official bin download for r10d exists anymore to my knowledge, could rework this change if r10d or not bumping GCC versions is needed for some reason.

- QoL logic to use $ANDROID_NDK_HOME over $ANDROID_NDK, which is old and
no longer used
- Changed assumed android ndk paths from x86 to x86_64
- Added check to make sure ANDROIDBIN actually set $CC properly
- Added aarch64 and arm-v7a as a build target
- Changed armeabi to armv5te because it hasn't been valid since the
config.sub regen in festvox@d1402af
- Updated GCC to 4.9, because this is what r10e ships with
- Updated target to sdk21, nearly no one is going to be on android 4<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant