summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-12-12 00:46:12 -0500
committerGitHub <noreply@github.com>2016-12-12 00:46:12 -0500
commit02fa4e3ce2864a4ca10f06b6c846f407be3e2c0a (patch)
tree272ced0fde5254a0ce8ece08886c9b92e6b2013a
parent985a091a739c99736d5b17de5161831488dbc219 (diff)
parent901f29e3aaa62879372c5957de131dd232cc1744 (diff)
Merge pull request #942 from priyadi/cpp11
The adafruit BLE C++ code requires -std=c++11
-rw-r--r--tmk_core/avr.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/avr.mk b/tmk_core/avr.mk
index b48173341a..5df539def5 100644
--- a/tmk_core/avr.mk
+++ b/tmk_core/avr.mk
@@ -26,7 +26,7 @@ CFLAGS += -fno-inline-small-functions
CFLAGS += -fno-strict-aliasing
CPPFLAGS += $(COMPILEFLAGS)
-CPPFLAGS += -fno-exceptions
+CPPFLAGS += -fno-exceptions -std=c++11
LDFLAGS +=-Wl,--gc-sections