Enable -Wall -Werror.
Change-Id: I6dd7f0c203f3b303d9d9878ccbba382ff3540ea0
diff --git a/mcld-device-build.mk b/mcld-device-build.mk
index f868d99..211b0f2 100644
--- a/mcld-device-build.mk
+++ b/mcld-device-build.mk
@@ -13,14 +13,8 @@
LOCAL_CPPFLAGS := \
$(LOCAL_CPPFLAGS) \
- -Wformat \
- -Werror=format-security \
- -Werror=return-type \
- -Werror=non-virtual-dtor \
- -Werror=address \
- -Werror=sequence-point \
- -Woverloaded-virtual \
- -Wno-sign-promo
+ -Wall \
+ -Werror
ifeq ($(MCLD_ENABLE_ASSERTION),true)
LOCAL_CPPFLAGS += \
diff --git a/mcld-host-build.mk b/mcld-host-build.mk
index 16ed62f..5d54893 100644
--- a/mcld-host-build.mk
+++ b/mcld-host-build.mk
@@ -6,14 +6,8 @@
LOCAL_CPPFLAGS := \
$(LOCAL_CPPFLAGS) \
- -Wformat \
- -Werror=format-security \
- -Werror=return-type \
- -Werror=non-virtual-dtor \
- -Werror=address \
- -Werror=sequence-point \
- -Woverloaded-virtual \
- -Wno-sign-promo
+ -Wall \
+ -Werror
ifeq ($(MCLD_ENABLE_ASSERTION),true)
LOCAL_CPPFLAGS += \