Skip to content

Commit a0d31e5

Browse files
jimmodpgeorge
authored andcommitted
esp8266/Makefile: Add support for C++ user C modules.
This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <[email protected]>
1 parent fa6ccc7 commit a0d31e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ports/esp8266/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ COPT += -Os -DNDEBUG
9696
LDFLAGS += --gc-sections
9797
endif
9898

99+
# Flags for optional C++ source code
100+
CXXFLAGS += $(filter-out -Wmissing-prototypes -Wold-style-definition -std=gnu99,$(CFLAGS))
101+
99102
# Options for mpy-cross
100103
MPY_CROSS_FLAGS += -march=xtensa
101104

0 commit comments

Comments
 (0)