summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-06-01 00:51:16 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-06-01 00:51:16 +0200
commita83b798c57e10301bca4486ca42e0cabaee5d188 (patch)
tree1c2e4c7ecdc0676c558efcb3a1f0ca92ce2808c2
parentMerge "slot_metadata: add verity_corrupted field" (diff)
parentMerge "imgdiff: Generate statically linked imgdiff." (diff)
downloadandroid_bootable_recovery-a83b798c57e10301bca4486ca42e0cabaee5d188.tar
android_bootable_recovery-a83b798c57e10301bca4486ca42e0cabaee5d188.tar.gz
android_bootable_recovery-a83b798c57e10301bca4486ca42e0cabaee5d188.tar.bz2
android_bootable_recovery-a83b798c57e10301bca4486ca42e0cabaee5d188.tar.lz
android_bootable_recovery-a83b798c57e10301bca4486ca42e0cabaee5d188.tar.xz
android_bootable_recovery-a83b798c57e10301bca4486ca42e0cabaee5d188.tar.zst
android_bootable_recovery-a83b798c57e10301bca4486ca42e0cabaee5d188.zip
-rw-r--r--applypatch/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/applypatch/Android.mk b/applypatch/Android.mk
index a15ac0280..7b46c5937 100644
--- a/applypatch/Android.mk
+++ b/applypatch/Android.mk
@@ -97,5 +97,6 @@ LOCAL_STATIC_LIBRARIES += \
libdivsufsort64 \
libdivsufsort \
libz
-LOCAL_FORCE_STATIC_EXECUTABLE := true
+LOCAL_NO_FPIE := true
+LOCAL_LDFLAGS := -static
include $(BUILD_HOST_EXECUTABLE)