From 16159166af597423fca2ea091ede59d96534b3ce Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 19 Jan 2017 16:45:01 -0600 Subject: Disable relocations on orscmd to fix compile error in Omni 7.1 ERROR: Missing or empty .rel.dyn or .rela.dyn section ERROR: Failed to load as ELF This change fixes the compile error by disabling relocations. Thanks to mdmower for pointing out the best fix. Change-Id: I60e637158c324295c42c480139d6d38157ba0d31 --- orscmd/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/orscmd/Android.mk b/orscmd/Android.mk index b132d7360..19837b4d0 100644 --- a/orscmd/Android.mk +++ b/orscmd/Android.mk @@ -14,5 +14,6 @@ LOCAL_MODULE := orscmd LOCAL_MODULE_STEM := twrp LOCAL_MODULE_TAGS:= eng LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES +LOCAL_PACK_MODULE_RELOCATIONS := false LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin include $(BUILD_EXECUTABLE) -- cgit v1.2.3