summaryrefslogtreecommitdiffstats
path: root/toolbox
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-12-05 03:23:41 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-12-05 03:23:41 +0000
commit7f55e82cd2673c89d7fc52e076b81f2379a75283 (patch)
tree232262a154a781e5029ed9ac0633f608bc19e9dc /toolbox
parentba03759264e62d5592688957cb70ffa567356074 (diff)
parente826877117dc9f94759ef646b77a3958ab51c125 (diff)
downloadsystem_core-7f55e82cd2673c89d7fc52e076b81f2379a75283.zip
system_core-7f55e82cd2673c89d7fc52e076b81f2379a75283.tar.gz
system_core-7f55e82cd2673c89d7fc52e076b81f2379a75283.tar.bz2
Merge "Toolbox: Disable unused-XXX warnings"
Diffstat (limited to 'toolbox')
-rw-r--r--toolbox/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolbox/Android.mk b/toolbox/Android.mk
index 005fab7..920ac71 100644
--- a/toolbox/Android.mk
+++ b/toolbox/Android.mk
@@ -7,6 +7,10 @@ common_cflags := \
-I$(LOCAL_PATH)/upstream-netbsd/include/ \
-include bsd-compatibility.h \
+# Temporary, remove after cleanup. b/18632512
+common_cflags += -Wno-unused-variable \
+ -Wno-unused-but-set-variable
+
include $(CLEAR_VARS)
LOCAL_SRC_FILES := upstream-netbsd/bin/cat/cat.c