From 3255ca3ea47e97d723a477321e64b21ee98dd70c Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sun, 30 Oct 2016 06:08:23 +0800 Subject: [PATCH] Remove unnecessary statics --- jni/Android.mk | 7 +------ jni/Application.mk | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/jni/Android.mk b/jni/Android.mk index 83275f559..55cb65c00 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -6,8 +6,6 @@ include $(CLEAR_VARS) LOCAL_MODULE := magiskhide LOCAL_MODULE_TAGS := optional LOCAL_FORCE_STATIC_EXECUTABLE := true -LOCAL_LDFLAGS := -static -LOCAL_STATIC_LIBRARIES := libc libcutils LOCAL_SRC_FILES := magiskhide.c include $(BUILD_EXECUTABLE) @@ -15,8 +13,6 @@ include $(CLEAR_VARS) LOCAL_MODULE := bootimgtools LOCAL_MODULE_TAGS := optional LOCAL_FORCE_STATIC_EXECUTABLE := true -LOCAL_LDFLAGS := -static -LOCAL_STATIC_LIBRARIES := libc libcutils LOCAL_SRC_FILES := bootimgtools.c extract.c repack.c hexpatch.c LOCAL_CFLAGS += -std=gnu11 include $(BUILD_EXECUTABLE) @@ -25,8 +21,7 @@ include $(CLEAR_VARS) LOCAL_MODULE := sepolicy-inject LOCAL_MODULE_TAGS := optional LOCAL_FORCE_STATIC_EXECUTABLE := true -LOCAL_LDFLAGS := -static -LOCAL_STATIC_LIBRARIES := libc libcutils libsepol +LOCAL_STATIC_LIBRARIES := libsepol LOCAL_SRC_FILES := sepolicy-inject/sepolicy-inject.c sepolicy-inject/builtin_rules.c LOCAL_C_INCLUDES := selinux/libsepol/include/ LOCAL_CFLAGS += -std=gnu11 diff --git a/jni/Application.mk b/jni/Application.mk index f37ecb28e..d26f2413a 100644 --- a/jni/Application.mk +++ b/jni/Application.mk @@ -1,3 +1,3 @@ -APP_ABI := x86 armeabi +APP_ABI := x86 x86_64 armeabi arm64-v8a APP_PIE = true APP_PLATFORM := android-21