summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@cgnd.dev>2023-05-15 23:08:41 -0700
committerDamien George <damien.p.george@gmail.com>2023-05-19 22:03:17 +1000
commit1ecc54888fde25f63cb26740a000bbadf0d4b199 (patch)
tree3ebaed034d5cb9d3bbf757d523c0b11679411ec2
parenta9fc0343f08287ba3cb51c231507583770ae5dfe (diff)
extmod/extmod.mk: Suppress deprecated-non-prototype warning.
Signed-off-by: Chris Wilson <chris@cgnd.dev>
-rw-r--r--extmod/extmod.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/extmod.mk b/extmod/extmod.mk
index 40f4237ce..ee9372e18 100644
--- a/extmod/extmod.mk
+++ b/extmod/extmod.mk
@@ -294,7 +294,7 @@ SRC_THIRDPARTY_C += $(addprefix $(BTREE_DIR)/,\
CFLAGS_EXTMOD += -DMICROPY_PY_BTREE=1
# we need to suppress certain warnings to get berkeley-db to compile cleanly
# and we have separate BTREE_DEFS so the definitions don't interfere with other source code
-$(BUILD)/$(BTREE_DIR)/%.o: CFLAGS += -Wno-old-style-definition -Wno-sign-compare -Wno-unused-parameter $(BTREE_DEFS)
+$(BUILD)/$(BTREE_DIR)/%.o: CFLAGS += -Wno-old-style-definition -Wno-sign-compare -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-unknown-warning-option $(BTREE_DEFS)
$(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
endif