Skip to content

Commit 2ae3c89

Browse files
jimmodpgeorge
authored andcommitted
extmod/btstack/btstack.mk: Add -Wimplicit-fallthrough=0.
This is needed since -Wextra was added to the build in bef4127 Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
1 parent ed7ddd4 commit 2ae3c89

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

extmod/btstack/btstack.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,12 @@ endif
6666
LIB_SRC_C += $(SRC_BTSTACK)
6767

6868
# Suppress some warnings.
69-
BTSTACK_WARNING_CFLAGS = -Wno-old-style-definition -Wno-unused-variable -Wno-unused-parameter
69+
BTSTACK_WARNING_CFLAGS = -Wno-old-style-definition -Wno-unused-variable -Wno-unused-parameter -Wimplicit-fallthrough=0
7070
ifneq ($(CC),clang)
7171
BTSTACK_WARNING_CFLAGS += -Wno-format
7272
endif
7373
$(BUILD)/lib/btstack/src/%.o: CFLAGS += $(BTSTACK_WARNING_CFLAGS)
74+
$(BUILD)/lib/btstack/platform/%.o: CFLAGS += $(BTSTACK_WARNING_CFLAGS)
7475

7576
endif
7677
endif

0 commit comments

Comments
 (0)