Skip to content

Commit

Permalink
Merge pull request #6 from scgbckbone/btree_compile_macos
Browse files Browse the repository at this point in the history
suppress btree warnings when compiling the unix port on macOS
  • Loading branch information
doc-hex committed Nov 8, 2023
2 parents abf88c9 + 8c60584 commit d680d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extmod/extmod.mk
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ SRC_MOD += $(addprefix $(BTREE_DIR)/,\
CFLAGS_MOD += -DMICROPY_PY_BTREE=1
# we need to suppress certain warnings to get berkeley-db to compile cleanly
# and we have separate BTREE_DEFS so the definitions don't interfere with other source code
$(BUILD)/$(BTREE_DIR)/%.o: CFLAGS += -Wno-old-style-definition -Wno-sign-compare -Wno-unused-parameter $(BTREE_DEFS)
$(BUILD)/$(BTREE_DIR)/%.o: CFLAGS += -Wno-old-style-definition -Wno-sign-compare -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-unknown-warning-option $(BTREE_DEFS)
$(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
endif

0 comments on commit d680d41

Please sign in to comment.