diff options
author | Tim Murray <timmurray@google.com> | 2014-07-24 17:22:09 -0700 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2014-07-24 17:22:09 -0700 |
commit | b37009fa777468c6839c0af89efc24e4c95af472 (patch) | |
tree | 19ae576234c4c548b3b2383ebd2aa300ed0d0760 /libutils | |
parent | d629c7892fca6a085ad1aebc9d8ac74092f7a2a5 (diff) | |
download | system_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.mk | 3 |
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) |