diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2012-07-18 16:32:36 -0700 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2012-07-18 16:32:36 -0700 |
commit | f02463d3f8a5d9bec4da765e3e1b488be1e5d264 (patch) | |
tree | 7c6a72a27955f3749a5eb61cf70f4e5c6eb4364c /main | |
parent | 39a05e02c41d4c515d2b0b84e8e3bea3324db2af (diff) | |
download | external_bluetooth_bluedroid-f02463d3f8a5d9bec4da765e3e1b488be1e5d264.zip external_bluetooth_bluedroid-f02463d3f8a5d9bec4da765e3e1b488be1e5d264.tar.gz external_bluetooth_bluedroid-f02463d3f8a5d9bec4da765e3e1b488be1e5d264.tar.bz2 |
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
Diffstat (limited to 'main')
-rwxr-xr-x | main/Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 |