py/py.mk: Suppress some compiler warnings when building berkeley-db.
This commit is contained in:
parent
79ec869f95
commit
6c79980b0e
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
|
||||
|
|
Loading…
Reference in New Issue