diff options
Diffstat (limited to 'libutils/Android.mk')
-rw-r--r-- | libutils/Android.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libutils/Android.mk b/libutils/Android.mk index b1dc1f8..0376c8c 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) @@ -91,8 +94,7 @@ endif LOCAL_CFLAGS += -Werror LOCAL_C_INCLUDES += \ - bionic/libc \ - external/zlib + external/zlib LOCAL_STATIC_LIBRARIES := \ libcutils |