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

Commit f0d2debc authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Gerrit Code Review
Browse files

Merge "Disable some clang warnings"

parents 7d4b8c06 32df2312
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ LOCAL_CFLAGS += \
	-DBOARD_HAVE_BLUETOOTH_BCM
endif
LOCAL_CFLAGS += -DBUILDCFG $(bdroid_CFLAGS) -std=c99
LOCAL_CLANG_CFLAGS += -Wno-error=gnu-variable-sized-type-not-at-end

LOCAL_PRELINK_MODULE:=false
LOCAL_SRC_FILES:= \
+2 −0
Original line number Diff line number Diff line
@@ -144,4 +144,6 @@ LOCAL_REQUIRED_MODULES := \
	libbt-vendor
LOCAL_MULTILIB := 32

LOCAL_CLANG_CFLAGS := -Wno-error=gnu-variable-sized-type-not-at-end

include $(BUILD_SHARED_LIBRARY)
+4 −0
Original line number Diff line number Diff line
@@ -156,5 +156,9 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
LOCAL_SHARED_LIBRARIES := libcutils libc
LOCAL_MULTILIB := 32
# gnu-variable-sized-type-not-at-end is needed for a variable-size header in
# a struct.
# const-logical-operand is needed for code in l2c_utils.c that looks intentional.
LOCAL_CLANG_CFLAGS += -Wno-error=gnu-variable-sized-type-not-at-end -Wno-error=constant-logical-operand

include $(BUILD_STATIC_LIBRARY)