diff options
| -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 |
