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 \
|
mpool/mpool.c \
|
||||||
)
|
)
|
||||||
CFLAGS_MOD += -DMICROPY_PY_BTREE=1
|
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
|
endif
|
||||||
|
|
||||||
# py object files
|
# py object files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user