From b4422bd76952be4321cfbce3220bcb4fd41b5154 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Mon, 30 May 2016 21:53:11 -0700 Subject: imgdiff: Generate statically linked imgdiff. Bug: 28941046 Change-Id: If3019d8cff91fd4f6fa4516bef5a0f51c2ddebc7 --- applypatch/Android.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3