py/py.mk: Suppress some compiler warnings when building berkeley-db.

This commit is contained in:
Damien George 2016-09-22 11:09:21 +10:00
parent 79ec869f95
commit 6c79980b0e
1 changed files with 2 additions and 0 deletions

View File

@ -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