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

Commit 5b86ac24 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Add correct LOCAL_CFLAGS to compile with global -Werror.

* Only fix warning related flags in this change.

Bug: 66996870
Test: normal builds.
Change-Id: If6de2711bf872558d8532842ee36ede269d5ac2f
parent 4ff40ccb
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -21,11 +21,6 @@ LOCAL_SRC_FILES:= \

LOCAL_CFLAGS+= -O2 -fvisibility=hidden

LOCAL_CFLAGS+= \
    -Wall \
    -Werror \
    -Wno-unused-variable \

LOCAL_SHARED_LIBRARIES := \
	libcutils \
	liblog \
@@ -40,6 +35,11 @@ else
  LOCAL_CFLAGS := -DCAPTURE_DEVICE=8
endif

LOCAL_CFLAGS += \
    -Wall \
    -Werror \
    -Wno-unused-variable \

LOCAL_HEADER_LIBRARIES := libhardware_headers

LOCAL_MODULE_RELATIVE_PATH := soundfx