diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-04-30 09:24:08 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-05-02 14:16:00 -0700 |
commit | f1a8dfa0ebfc233e569ffa83e21e37d0a829b94c (patch) | |
tree | e57f143597aef4df6238de5b46006da6b142b4fe /debuggerd/Android.mk | |
parent | b149e245c8ccd90b52227f3d07ab572080afac53 (diff) | |
download | system_core-f1a8dfa0ebfc233e569ffa83e21e37d0a829b94c.zip system_core-f1a8dfa0ebfc233e569ffa83e21e37d0a829b94c.tar.gz system_core-f1a8dfa0ebfc233e569ffa83e21e37d0a829b94c.tar.bz2 |
debuggerd: turn on -Werror
- Deal with some -Wunused / -Wunused-variable issues
Change-Id: I39849fe30170f69d1cab7d4ad2629b3a49e14ee7
Diffstat (limited to 'debuggerd/Android.mk')
-rw-r--r-- | debuggerd/Android.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debuggerd/Android.mk b/debuggerd/Android.mk index f6d8f0c..8be3541 100644 --- a/debuggerd/Android.mk +++ b/debuggerd/Android.mk @@ -20,8 +20,7 @@ LOCAL_CPPFLAGS := -std=gnu++11 LOCAL_CFLAGS := \ -Wall \ -Wno-array-bounds \ - -Werror \ - -Wno-unused-parameter \ + -Werror ifeq ($(ARCH_ARM_HAVE_VFP),true) LOCAL_CFLAGS_arm += -DWITH_VFP @@ -55,7 +54,7 @@ LOCAL_SRC_FILES_x86 := x86/crashglue.S LOCAL_SRC_FILES_x86_64 := x86_64/crashglue.S LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) LOCAL_MODULE_TAGS := optional -LOCAL_CFLAGS += -fstack-protector-all -Wno-unused-parameter -Wno-free-nonheap-object +LOCAL_CFLAGS += -fstack-protector-all -Werror -Wno-free-nonheap-object #LOCAL_FORCE_STATIC_EXECUTABLE := true LOCAL_SHARED_LIBRARIES := libcutils liblog libc @@ -76,6 +75,7 @@ ifeq ($(ARCH_ARM_HAVE_VFP_D32),true) LOCAL_CFLAGS_arm += -DWITH_VFP_D32 endif # ARCH_ARM_HAVE_VFP_D32 endif # ARCH_ARM_HAVE_VFP == true +LOCAL_CFLAGS += -Werror LOCAL_SRC_FILES_arm64 := arm64/vfp.S LOCAL_MODULE_TARGET_ARCH += arm64 |