diff options
author | Max Kellermann <max@musicpd.org> | 2016-10-26 12:00:49 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-10-26 17:00:17 +0200 |
commit | 4bbc43d91af651a5a78c12e0cc6023df87deb299 (patch) | |
tree | e8ac838d59248612107909eab8c1161185942c73 /android | |
parent | db8b5dc6988f5f1f08ff21b8426bedc4ca56366b (diff) |
android/build.py: pass architecture/CPU flags to the linker
Diffstat (limited to 'android')
-rwxr-xr-x | android/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/build.py b/android/build.py index 5d0a9954a..4b720a69c 100755 --- a/android/build.py +++ b/android/build.py @@ -85,7 +85,7 @@ class AndroidNdkToolchain: self.cflags = '-Os -g ' + common_flags self.cxxflags = '-Os -g ' + common_flags self.cppflags = '--sysroot=' + self.sysroot + ' -isystem ' + os.path.join(install_prefix, 'include') - self.ldflags = '--sysroot=' + self.sysroot + ' -L' + os.path.join(install_prefix, 'lib') + self.ldflags = '--sysroot=' + self.sysroot + ' ' + common_flags + ' -L' + os.path.join(install_prefix, 'lib') self.libs = '' self.is_arm = self.ndk_arch == 'arm' |