From b4700039fd9ae574dec2f4ad308fb8f1eea248d2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 12 Jan 2020 13:02:41 +0100 Subject: 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. --- android/build.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'android') diff --git a/android/build.py b/android/build.py index c48472546..6ccbb5f11 100755 --- a/android/build.py +++ b/android/build.py @@ -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' -- cgit v1.2.3