summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/windows/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/windows/Makefile b/ports/windows/Makefile
index 5a22be464..91744b7a5 100644
--- a/ports/windows/Makefile
+++ b/ports/windows/Makefile
@@ -91,6 +91,8 @@ ifneq ($(FROZEN_MANIFEST),)
CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool -DMICROPY_MODULE_FROZEN_MPY=1 -DMPZ_DIG_SIZE=16
endif
+CXXFLAGS += $(filter-out -std=gnu99,$(CFLAGS) $(CXXFLAGS_MOD))
+
include $(TOP)/py/mkrules.mk
.PHONY: test test_full