Building SDL2 Android app with GCC?

With Android NDK having deprecated GCC (and imminently removing it entirely) I am trying to move to using Clang for my build. But no matter what I try, my app crashes when built that way. As far as I can ascertain, it’s because Clang handles the -munaligned-access switch differently from GCC (I have some unavoidable unaligned accesses, and the Clang build, particularly the release build, faults with SIGBUS).

So my question is: are there any remaining options open to me for building with GCC rather than Clang? I’m not unduly concerned if the resulting app is not compatible with the App Store (it isn’t anyway because there currently isn’t an arm64-v8a binary) so long as the APK will install and run.