Commit b4700039 authored by Max Kellermann's avatar Max Kellermann

android/build.py: drop -lmstackrealign

This flag doesn't appear to work, and since we never had a problem without the flag, implementing Google's recommendation is useless.
parent ab41c16e
......@@ -117,10 +117,6 @@ class AndroidNdkToolchain:
self.ldflags = common_flags
self.libs = ''
# required flags from https://android.googlesource.com/platform/ndk/+/ndk-release-r20/docs/BuildSystemMaintainers.md#additional-required-arguments
if ndk_arch == 'x86' and int(android_api_level) < 24:
self.ldflags += ' -lmstackrealign'
self.is_arm = ndk_arch == 'arm'
self.is_armv7 = self.is_arm and 'armv7' in self.cflags
self.is_aarch64 = ndk_arch == 'arm64'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment