8000 py/py.mk: Suppress some compiler warnings when building berkeley-db. · sparkfun/circuitpython@6c79980 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6c79980

Browse files
committed
py/py.mk: Suppress some compiler warnings when building berkeley-db.
1 parent 79ec869 commit 6c79980

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py/py.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ btree/bt_utils.c \
8989
mpool/mpool.c \
9090
)
9191
CFLAGS_MOD += -DMICROPY_PY_BTREE=1
92+
# we need to suppress certain warnings to get berkeley-db to compile cleanly
93+
$(BUILD)/$(BTREE_DIR)/%.o: CFLAGS += -Wno-old-style-definition -Wno-sign-compare -Wno-unused-parameter
9294
endif
9395

9496
# py object files

0 commit comments

Comments
 (0)
0