diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2024-03-26 13:10:45 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-03-26 17:41:34 +1100 |
| commit | a0d31e54ae5219a2794784311b6df45b680007d2 (patch) | |
| tree | 118331899ba79966540475b490daeee5966bf493 | |
| parent | fa6ccc7e722a4516a173087cd0812711f8452da7 (diff) | |
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>
| -rw-r--r-- | ports/esp8266/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/esp8266/Makefile b/ports/esp8266/Makefile index 8af7aba0a..1b9e9623b 100644 --- a/ports/esp8266/Makefile +++ b/ports/esp8266/Makefile @@ -96,6 +96,9 @@ COPT += -Os -DNDEBUG LDFLAGS += --gc-sections endif +# Flags for optional C++ source code +CXXFLAGS += $(filter-out -Wmissing-prototypes -Wold-style-definition -std=gnu99,$(CFLAGS)) + # Options for mpy-cross MPY_CROSS_FLAGS += -march=xtensa |
