diff --git a/init/Android.mk b/init/Android.mk index 45b002de5..9aeaeabf0 100644 --- a/init/Android.mk +++ b/init/Android.mk @@ -30,6 +30,8 @@ LOCAL_SRC_FILES:= \ LOCAL_STATIC_LIBRARIES := libbase LOCAL_MODULE := libinit + +LOCAL_DETECT_INTEGER_OVERFLOWS := true LOCAL_CLANG := true include $(BUILD_STATIC_LIBRARY) @@ -77,6 +79,7 @@ LOCAL_POST_INSTALL_CMD := $(hide) mkdir -p $(TARGET_ROOT_OUT)/sbin; \ ln -sf ../init $(TARGET_ROOT_OUT)/sbin/ueventd; \ ln -sf ../init $(TARGET_ROOT_OUT)/sbin/watchdogd +LOCAL_DETECT_INTEGER_OVERFLOWS := true LOCAL_CLANG := true include $(BUILD_EXECUTABLE) @@ -94,5 +97,6 @@ LOCAL_SHARED_LIBRARIES += \ libbase \ LOCAL_STATIC_LIBRARIES := libinit +LOCAL_DETECT_INTEGER_OVERFLOWS := true LOCAL_CLANG := true include $(BUILD_NATIVE_TEST)