esp8266/Makefile: Add support for C++ user C modules.
This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
committed by
Damien George
parent
fa6ccc7e72
commit
a0d31e54ae
@@ -96,6 +96,9 @@ COPT += -Os -DNDEBUG
|
|||||||
LDFLAGS += --gc-sections
|
LDFLAGS += --gc-sections
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Flags for optional C++ source code
|
||||||
|
CXXFLAGS += $(filter-out -Wmissing-prototypes -Wold-style-definition -std=gnu99,$(CFLAGS))
|
||||||
|
|
||||||
# Options for mpy-cross
|
# Options for mpy-cross
|
||||||
MPY_CROSS_FLAGS += -march=xtensa
|
MPY_CROSS_FLAGS += -march=xtensa
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user