summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-11-21 22:55:19 -0800
committerChih-Hung Hsieh <chh@google.com>2017-11-21 22:55:19 -0800
commit1521972c6a49c285d469d59c4645bf010e108a82 (patch)
tree9211253845f11221a6ca5d4ab4b2da021d8721e3 /tests
parent6d7c3b961a20628b3dc33d0a2aa9750fe2d67f12 (diff)
downloadlibufdt-1521972c6a49c285d469d59c4645bf010e108a82.tar.gz
Suppress format warnings due to size_t/ulong mismatch.android-o-mr1-iot-preview-6o-mr1-iot-preview-6
Bug: http://b/66996870 Test: Builds on darwin. Change-Id: I5859667f69036c8cacace628e292ab6dab797574 Exempt-From-Owner-Approval: fix broken builds
Diffstat (limited to 'tests')
-rw-r--r--tests/src/Android.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/src/Android.mk b/tests/src/Android.mk
index 03982d8..c5cc72f 100644
--- a/tests/src/Android.mk
+++ b/tests/src/Android.mk
@@ -14,11 +14,9 @@
LOCAL_PATH:= $(call my-dir)
-ifeq ($(HOST_OS),darwin)
-# No -Werror for darwin yet. Need to fix/suppress more warnings.
-libufdt_tests_cflags := -Wall
-else
libufdt_tests_cflags := -Wall -Werror
+ifeq ($(HOST_OS),darwin)
+libufdt_tests_cflags += -Wno-error=format
endif
###################################################