summaryrefslogtreecommitdiffstats
path: root/libutils
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-07-24 17:22:09 -0700
committerTim Murray <timmurray@google.com>2014-07-24 17:22:09 -0700
commitb37009fa777468c6839c0af89efc24e4c95af472 (patch)
tree19ae576234c4c548b3b2383ebd2aa300ed0d0760 /libutils
parentd629c7892fca6a085ad1aebc9d8ac74092f7a2a5 (diff)
downloadsystem_core-b37009fa777468c6839c0af89efc24e4c95af472.zip
system_core-b37009fa777468c6839c0af89efc24e4c95af472.tar.gz
system_core-b37009fa777468c6839c0af89efc24e4c95af472.tar.bz2
Fix Darwin build caused by -Wunused-parameter.
bug 16172793 Change-Id: I1d0514c00085cb5d18ebdd064e96885d6eaa1e59
Diffstat (limited to 'libutils')
-rw-r--r--libutils/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/libutils/Android.mk b/libutils/Android.mk
index 6164c10..2d77ef2 100644
--- a/libutils/Android.mk
+++ b/libutils/Android.mk
@@ -66,6 +66,9 @@ LOCAL_SRC_FILES:= $(commonSources)
ifeq ($(HOST_OS), linux)
LOCAL_SRC_FILES += Looper.cpp
endif
+ifeq ($(HOST_OS),darwin)
+LOCAL_CFLAGS += -Wno-unused-parameter
+endif
LOCAL_MODULE:= libutils
LOCAL_STATIC_LIBRARIES := liblog
LOCAL_CFLAGS += $(host_commonCflags)