summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-01-05 12:40:50 -0800
committerDan Albert <danalbert@google.com>2015-01-07 10:08:02 -0800
commite44dc7755bf137061288ca06515ccd0f0a0d2218 (patch)
tree651568fe03423f9adccbeb577fb610ae7bb1d302
parente571c0cb34dbc3799349cf2166fb422ff9d2c08d (diff)
downloadlibcxxabi-e44dc7755bf137061288ca06515ccd0f0a0d2218.tar.gz
Turn on -Werror, -Wall, and -Wextra.
Couldn't turn these on before because the project wasn't warning clean, but that was fixed recently. Change-Id: If78cfa16d23f78a9d4d801600a0e8a1a3cc52b8d
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index f723331..68c33bb 100644
--- a/Android.mk
+++ b/Android.mk
@@ -53,6 +53,10 @@ LIBCXXABI_RTTI_FLAG := -frtti
LIBCXXABI_CPPFLAGS := \
-std=c++11 \
-fexceptions \
+ -Wall \
+ -Wextra \
+ -Wno-unused-function \
+ -Werror \
include $(CLEAR_VARS)
LOCAL_MODULE := libunwind_llvm