unix/Makefile: Remove explicit addition of -std=c++ flag.

This was added merely for building the C++ user module example, so it's a
better fit to add it in the corresponding micropython.mk.
This commit is contained in:
stijn
2022-02-15 10:16:46 +01:00
committed by Damien George
parent 9c05f3aa1d
commit 8bb50c6301
2 changed files with 1 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ SRC_USERMOD_CXX += $(CPPEXAMPLE_MOD_DIR)/example.cpp
# Add our module directory to the include path.
CFLAGS_USERMOD += -I$(CPPEXAMPLE_MOD_DIR)
CXXFLAGS_USERMOD += -I$(CPPEXAMPLE_MOD_DIR)
CXXFLAGS_USERMOD += -I$(CPPEXAMPLE_MOD_DIR) -std=c++11
# We use C++ features so have to link against the standard library.
LDFLAGS_USERMOD += -lstdc++