summaryrefslogtreecommitdiffstats
path: root/NativeCode.mk
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2010-05-06 23:44:16 -0700
committerBrian Carlstrom <bdc@google.com>2010-05-07 15:01:18 -0700
commit44e0e560c92338110953ce806df475fedcdf926e (patch)
treec36e09c47ecea1064441c0fa960731a5cd9042cf /NativeCode.mk
parent0f840f7eadd6f14a00bf18199fede8325a3536fc (diff)
downloadlibcore-44e0e560c92338110953ce806df475fedcdf926e.zip
libcore-44e0e560c92338110953ce806df475fedcdf926e.tar.gz
libcore-44e0e560c92338110953ce806df475fedcdf926e.tar.bz2
Enable -Wall -Wextra for libcore and cleanup all but one warning
Change-Id: Ied76662c470ba878cec61189acf29f5cbbd4ccd4
Diffstat (limited to 'NativeCode.mk')
-rw-r--r--NativeCode.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/NativeCode.mk b/NativeCode.mk
index 41ca7cb..d448877 100644
--- a/NativeCode.mk
+++ b/NativeCode.mk
@@ -85,6 +85,8 @@ core_static_libraries := $(sort $(LOCAL_STATIC_LIBRARIES))
include $(CLEAR_VARS)
+LOCAL_CFLAGS += -Wall -Wextra
+
ifeq ($(TARGET_ARCH),arm)
# Ignore "note: the mangling of 'va_list' has changed in GCC 4.4"
LOCAL_CFLAGS += -Wno-psabi