From 1efcdeffe5ca9981112be5c7ec7c56e7ac0d6e49 Mon Sep 17 00:00:00 2001 From: Tim Murray Date: Thu, 24 Jul 2014 18:33:12 -0700 Subject: [PATCH] fix adb build on Darwin bug 16172793 Change-Id: Ia34b7148afc4c909f29037df91c04d6fd29a731e --- adb/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/adb/Android.mk b/adb/Android.mk index 80427b8e6..80c1f9c58 100644 --- a/adb/Android.mk +++ b/adb/Android.mk @@ -24,6 +24,7 @@ ifeq ($(HOST_OS),darwin) USB_SRCS := usb_osx.c EXTRA_SRCS := get_my_path_darwin.c LOCAL_LDLIBS += -lpthread -framework CoreFoundation -framework IOKit -framework Carbon + LOCAL_CFLAGS += -Wno-sizeof-pointer-memaccess -Wno-unused-parameter endif ifeq ($(HOST_OS),freebsd)