summaryrefslogtreecommitdiff
path: root/su/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'su/Android.mk')
-rw-r--r--su/Android.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/su/Android.mk b/su/Android.mk
index 0593cc96..297e0a31 100644
--- a/su/Android.mk
+++ b/su/Android.mk
@@ -1,14 +1,12 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
+LOCAL_CFLAGS := -std=c11 -Wall -Werror
+
LOCAL_SRC_FILES:= su.c
LOCAL_MODULE:= su
-LOCAL_FORCE_STATIC_EXECUTABLE := true
-
-LOCAL_STATIC_LIBRARIES := libc
-
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
LOCAL_MODULE_TAGS := debug