summaryrefslogtreecommitdiffstatshomepage
path: root/examples/usercmodule/cppexample
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2022-02-15 10:16:46 +0100
committerDamien George <damien@micropython.org>2022-02-18 14:40:16 +1100
commit8bb50c6301f5b3df143fff7a425f284e88a0b64d (patch)
treeedc32b1492ba8a9e252f4ec5e87950fea504f7da /examples/usercmodule/cppexample
parent9c05f3aa1d201ba943c7852bee975f8b7d48e235 (diff)
downloadmicropython-8bb50c6301f5b3df143fff7a425f284e88a0b64d.tar.gz
micropython-8bb50c6301f5b3df143fff7a425f284e88a0b64d.zip
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.
Diffstat (limited to 'examples/usercmodule/cppexample')
-rw-r--r--examples/usercmodule/cppexample/micropython.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/usercmodule/cppexample/micropython.mk b/examples/usercmodule/cppexample/micropython.mk
index e10d965a00..0071d4fcc7 100644
--- a/examples/usercmodule/cppexample/micropython.mk
+++ b/examples/usercmodule/cppexample/micropython.mk
@@ -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++