Skip to content

Commit c14f47f

Browse files
stinosdpgeorge
authored andcommitted
windows/Makefile: Specify CXXFLAGS in the Makefile.
Enables building user modules which use C++ code, like the unix port.
1 parent 8bb50c6 commit c14f47f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ports/windows/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ ifneq ($(FROZEN_MANIFEST),)
9191
CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool -DMICROPY_MODULE_FROZEN_MPY=1 -DMPZ_DIG_SIZE=16
9292
endif
9393

94+
CXXFLAGS += $(filter-out -std=gnu99,$(CFLAGS) $(CXXFLAGS_MOD))
95+
9496
include $(TOP)/py/mkrules.mk
9597

9698
.PHONY: test test_full

0 commit comments

Comments
 (0)