am 6b27b7d6: Merge "init: Enable LOCAL_DETECT_INTEGER_OVERFLOWS"
* commit '6b27b7d60850433d1d6a3395f9569ea0f5f78634':
init: Enable LOCAL_DETECT_INTEGER_OVERFLOWS
diff --git a/init/Android.mk b/init/Android.mk
index 45b002d..9aeaeab 100644
--- a/init/Android.mk
+++ b/init/Android.mk
@@ -30,6 +30,8 @@
LOCAL_STATIC_LIBRARIES := libbase
LOCAL_MODULE := libinit
+
+LOCAL_DETECT_INTEGER_OVERFLOWS := true
LOCAL_CLANG := true
include $(BUILD_STATIC_LIBRARY)
@@ -77,6 +79,7 @@
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 @@
libbase \
LOCAL_STATIC_LIBRARIES := libinit
+LOCAL_DETECT_INTEGER_OVERFLOWS := true
LOCAL_CLANG := true
include $(BUILD_NATIVE_TEST)