mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Tentatively suppress -Winline for gcc 4.7
bug: 7584718 Change-Id: Ifcb7b6dbb5f0025fa3c44ef6023a95bd91452bc8
This commit is contained in:
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
|
||||
|
||||
ifeq ($(TARGET_ARCH), arm)
|
||||
ifneq ($(TARGET_GCC_VERSION), 4.7)
|
||||
LOCAL_CFLAGS += -Winline
|
||||
endif
|
||||
endif # TARGET_GCC_VERSION
|
||||
endif # TARGET_ARCH
|
||||
|
||||
# To suppress compiler warnings for unused variables/functions used for debug features etc.
|
||||
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-function
|
||||
|
Loading…
Reference in New Issue
Block a user