summaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorPriyadi Iman Nurcahyo <priyadi@priyadi.net>2016-12-10 04:08:08 +0700
committerPriyadi Iman Nurcahyo <priyadi@priyadi.net>2016-12-10 04:08:08 +0700
commit901f29e3aaa62879372c5957de131dd232cc1744 (patch)
tree272ced0fde5254a0ce8ece08886c9b92e6b2013a /tmk_core
parent985a091a739c99736d5b17de5161831488dbc219 (diff)
The adafruit BLE C++ code requires -std=c++11
Diffstat (limited to 'tmk_core')
-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