aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2017-11-22 07:13:33 -0800
committerStephen Hines <srhines@google.com>2017-11-22 07:13:33 -0800
commit471dff19d06c420a6dcf1d69e0518e862cbc1ce2 (patch)
tree3b75578017e8b8e778ecf2f0f09b2131c48749d6
parent9daf3ca0930745604c1a0b790223269c48877b4b (diff)
downloadbison-471dff19d06c420a6dcf1d69e0518e862cbc1ce2.tar.gz
Suppress shift-count-overflow warning on Darwin.
Bug: http://b/66996870 Test: Builds on Linux (Darwin not available for testing). Change-Id: Ie34424a378ab15c0d7abce2bd173c7c61fa41f2a
-rw-r--r--Android.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index cb8753b4..a0a3cfb6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -15,8 +15,7 @@
LOCAL_PATH:= $(call my-dir)
ifeq ($(HOST_OS),darwin)
-# No -Werror for darwin yet. Need to fix/suppress more warnings.
-BISON_WERROR :=
+BISON_WERROR := -Wno-shift-count-overflow
else
BISON_WERROR := -Werror
endif