windows/Makefile: Specify CXXFLAGS in the Makefile.

Enables building user modules which use C++ code, like the unix port.
This commit is contained in:
stijn 2022-02-17 12:44:42 +01:00 committed by Damien George
parent 8bb50c6301
commit c14f47faa3

View File

@ -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