From f02463d3f8a5d9bec4da765e3e1b488be1e5d264 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Wed, 18 Jul 2012 16:32:36 -0700 Subject: Fixed x86 build with GCC 4.6 compiler The GCC 4.6 compiler generates lots of warnings treated as errors thanks to -Werror. Add the following flags before code is cleanup and ready. -Wno-error=maybe-uninitialized -Wno-error=uninitialized Change-Id: I2f492433722e7f4614e00e627bc8eb5f074a878f --- main/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/Android.mk b/main/Android.mk index ee53401..41cac93 100755 --- a/main/Android.mk +++ b/main/Android.mk @@ -88,7 +88,7 @@ LOCAL_C_INCLUDES+= . \ $(LOCAL_PATH)/../embdrv/sbc/encoder/include \ $(LOCAL_PATH)/../audio_a2dp_hw -LOCAL_CFLAGS += -DBUILDCFG -Werror +LOCAL_CFLAGS += -DBUILDCFG -Werror -Wno-error=maybe-uninitialized -Wno-error=uninitialized ifeq ($(TARGET_PRODUCT), full_crespo) LOCAL_CFLAGS += -DTARGET_CRESPO -- cgit v1.1