summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-07-17 23:25:07 +1000
committerDamien George <damien@micropython.org>2021-07-17 23:55:25 +1000
commit74db526cf059d1bc30be38c28c36cf5d1156ae53 (patch)
tree8e97769675a2975efd4f14e036d78267aaf6afc9
parent12e3fcc78575295a881a10553adc979e9a530a21 (diff)
extmod/btstack/btstack.mk: Use -Wno-implicit-fallthrough, not =0.
In 2ae3c890bd923b4c39bba3d2e2f2d75eca5dcc06, -Wimplicit-fallthrough=0 was added to get the build to pass. This option is equivalent to -Wno-implicit-fallthrough, and the latter is compatible with clang (while the former is not). Fixes issue #7546. Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--extmod/btstack/btstack.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/btstack/btstack.mk b/extmod/btstack/btstack.mk
index 9e1857263..7ecc23000 100644
--- a/extmod/btstack/btstack.mk
+++ b/extmod/btstack/btstack.mk
@@ -67,7 +67,7 @@ endif
LIB_SRC_C += $(SRC_BTSTACK)
# Suppress some warnings.
-BTSTACK_WARNING_CFLAGS = -Wno-old-style-definition -Wno-unused-variable -Wno-unused-parameter -Wimplicit-fallthrough=0
+BTSTACK_WARNING_CFLAGS = -Wno-old-style-definition -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough
ifneq ($(CC),clang)
BTSTACK_WARNING_CFLAGS += -Wno-format
endif