summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-01-12 13:02:41 +0100
committerMax Kellermann <max@musicpd.org>2020-01-12 13:03:18 +0100
commitb4700039fd9ae574dec2f4ad308fb8f1eea248d2 (patch)
tree236c7af7a9021bcc1bef9c3547ac428b8e2886d3 /android
parentab41c16eb50535c672a1ce78f7f68181baa8f39a (diff)
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.
Diffstat (limited to 'android')
-rwxr-xr-xandroid/build.py4
1 files changed, 0 insertions, 4 deletions
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'