summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-12-03 23:48:36 +0100
committerDees Troy <dees_troy@teamw.in>2014-12-09 04:32:34 +0100
commit1902c79d11855eea0a8809b468f1a40053fa6262 (patch)
tree7842a8ab225162029730f147dfb6ec267980a3be /Android.mk
parentadd function to partition.cpp to return max file size to mtp responder (diff)
downloadandroid_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.tar
android_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.tar.gz
android_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.tar.bz2
android_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.tar.lz
android_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.tar.xz
android_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.tar.zst
android_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.zip
Diffstat (limited to '')
-rw-r--r--Android.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 3433d093a..207ee16d9 100644
--- a/Android.mk
+++ b/Android.mk
@@ -307,8 +307,6 @@ ifeq ($(PLATFORM_VERSION), 5.0.1)
LOCAL_CFLAGS += -DANDROID_VERSION=5
endif
-LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker
-
LOCAL_ADDITIONAL_DEPENDENCIES := \
dump_image \
erase_image \
@@ -328,6 +326,9 @@ ifneq ($(TARGET_ARCH), arm64)
dosfslabel \
fsck_msdos_symlink \
mkdosfs
+ LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker
+else
+ LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64
endif
ifneq ($(TW_USE_TOOLBOX), true)
LOCAL_ADDITIONAL_DEPENDENCIES += busybox_symlinks