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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user