From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> When building Android system libraries for Audio HAL produce lots of warnings. --- android/Android.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/Android.mk b/android/Android.mk index bfdf03f..16f94b9 100644 --- a/android/Android.mk +++ b/android/Android.mk @@ -367,7 +367,7 @@ LOCAL_SHARED_LIBRARIES := \ libcutils \ libsbc \ -LOCAL_CFLAGS := $(BLUEZ_COMMON_CFLAGS) +LOCAL_CFLAGS := $(BLUEZ_COMMON_CFLAGS) -Wno-declaration-after-statement LOCAL_LDFLAGS := -ldl LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw @@ -394,7 +394,7 @@ LOCAL_SHARED_LIBRARIES := \ libcutils \ libaudioutils \ -LOCAL_CFLAGS := $(BLUEZ_COMMON_CFLAGS) +LOCAL_CFLAGS := $(BLUEZ_COMMON_CFLAGS) -Wno-declaration-after-statement LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw LOCAL_MODULE_TAGS := optional -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html