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

Commit f775bf3b authored by Ken Wakasa's avatar Ken Wakasa
Browse files

Fix a build error in x86 builds

Change-Id: I64a7c35d01540eb63f09cacddaab03f95729ed02
parent 796050d1
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -29,8 +29,11 @@ LATIN_IME_SRC_FULLPATH_DIR := $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR)
LOCAL_C_INCLUDES += $(LATIN_IME_SRC_FULLPATH_DIR) $(LATIN_IME_SRC_FULLPATH_DIR)/gesture

LOCAL_CFLAGS += -Werror -Wall -Wextra -Weffc++ -Wformat=2 -Wcast-qual -Wcast-align \
    -Wwrite-strings -Wfloat-equal -Wpointer-arith -Winit-self -Wredundant-decls \
    -Winline -Wno-system-headers
    -Wwrite-strings -Wfloat-equal -Wpointer-arith -Winit-self -Wredundant-decls -Wno-system-headers

ifeq ($(TARGET_ARCH), arm)
LOCAL_CFLAGS += -Winline
endif

# To suppress compiler warnings for unused variables/functions used for debug features etc.
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-function