summaryrefslogtreecommitdiffstats
path: root/libutils
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-07-25 02:24:28 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-07-25 02:24:28 +0000
commitf505dae2d53b12ef9a991eb8bae9fd8290a965fe (patch)
treef5bf4c813a1baf3b444a5d85ca52037020644804 /libutils
parent7cd7285b857ab55a80b3dd72a0bc6c1e2f52a18c (diff)
parentf2879ef61453c845e2f675011e0cbc41d1396040 (diff)
downloadsystem_core-f505dae2d53b12ef9a991eb8bae9fd8290a965fe.zip
system_core-f505dae2d53b12ef9a991eb8bae9fd8290a965fe.tar.gz
system_core-f505dae2d53b12ef9a991eb8bae9fd8290a965fe.tar.bz2
am f2879ef6: am 6698ebf9: Merge "Fix Darwin build caused by -Wunused-parameter."
* commit 'f2879ef61453c845e2f675011e0cbc41d1396040': Fix Darwin build caused by -Wunused-parameter.
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 4f47d6f..dc3668b 100644
--- a/libutils/Android.mk
+++ b/libutils/Android.mk
@@ -67,6 +67,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)