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

Commit 249a614a authored by Ken Wakasa's avatar Ken Wakasa
Browse files

Tentatively suppress -Winline for gcc 4.7

bug: 7584718
Change-Id: Ifcb7b6dbb5f0025fa3c44ef6023a95bd91452bc8
parent 120b64f6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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