Tentatively suppress -Winline for gcc 4.7
bug: 7584718 Change-Id: Ifcb7b6dbb5f0025fa3c44ef6023a95bd91452bc8main
parent
120b64f617
commit
249a614ab7
|
@ -32,8 +32,10 @@ LOCAL_CFLAGS += -Werror -Wall -Wextra -Weffc++ -Wformat=2 -Wcast-qual -Wcast-ali
|
||||||
-Wwrite-strings -Wfloat-equal -Wpointer-arith -Winit-self -Wredundant-decls -Wno-system-headers
|
-Wwrite-strings -Wfloat-equal -Wpointer-arith -Winit-self -Wredundant-decls -Wno-system-headers
|
||||||
|
|
||||||
ifeq ($(TARGET_ARCH), arm)
|
ifeq ($(TARGET_ARCH), arm)
|
||||||
|
ifneq ($(TARGET_GCC_VERSION), 4.7)
|
||||||
LOCAL_CFLAGS += -Winline
|
LOCAL_CFLAGS += -Winline
|
||||||
endif
|
endif # TARGET_GCC_VERSION
|
||||||
|
endif # TARGET_ARCH
|
||||||
|
|
||||||
# To suppress compiler warnings for unused variables/functions used for debug features etc.
|
# To suppress compiler warnings for unused variables/functions used for debug features etc.
|
||||||
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-function
|
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-function
|
||||||
|
|
Loading…
Reference in New Issue