mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
py/py.mk: Suppress some compiler warnings when building berkeley-db.
This commit is contained in:
2
py/py.mk
2
py/py.mk
@@ -89,6 +89,8 @@ btree/bt_utils.c \
|
||||
mpool/mpool.c \
|
||||
)
|
||||
CFLAGS_MOD += -DMICROPY_PY_BTREE=1
|
||||
# we need to suppress certain warnings to get berkeley-db to compile cleanly
|
||||
$(BUILD)/$(BTREE_DIR)/%.o: CFLAGS += -Wno-old-style-definition -Wno-sign-compare -Wno-unused-parameter
|
||||
endif
|
||||
|
||||
# py object files
|
||||
|
||||
Reference in New Issue
Block a user