Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8b5ac1a authored by Bernhard Rosenkränzer's avatar Bernhard Rosenkränzer
Browse files

bluedroid: Fix build with gcc 4.8



In gcc 4.8, the warning for unused parameters is enabled by
default - causing -Werror to break the build.

Change-Id: Ifa4dbc6a7cfec0c82486906ecf3ed6d53a550c3f
Signed-off-by: default avatarBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
parent 52583375
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ LOCAL_C_INCLUDES:= $(LOCAL_PATH)/common \
                   $(LOCAL_PATH)/../utils/include \
                   $(bdroid_C_INCLUDES) \

LOCAL_CFLAGS += -Werror $(bdroid_CFLAGS)
LOCAL_CFLAGS += -Werror -Wno-error=unused-parameter $(bdroid_CFLAGS)

ifeq ($(BOARD_HAVE_BLUETOOTH_BCM),true)
LOCAL_CFLAGS += \
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ LOCAL_C_INCLUDES+= . \
	$(bdroid_C_INCLUDES) \
	external/tinyxml2

LOCAL_CFLAGS += -DBUILDCFG $(bdroid_CFLAGS) -Werror -Wno-error=maybe-uninitialized -Wno-error=uninitialized
LOCAL_CFLAGS += -DBUILDCFG $(bdroid_CFLAGS) -Werror -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=unused-parameter

ifeq ($(TARGET_PRODUCT), full_crespo)
     LOCAL_CFLAGS += -DTARGET_CRESPO