From: Priyadi Iman Nurcahyo Date: Fri, 9 Dec 2016 21:08:08 +0000 (+0700) Subject: The adafruit BLE C++ code requires -std=c++11 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=901f29e3aaa62879372c5957de131dd232cc1744;p=qmk_firmware.git The adafruit BLE C++ code requires -std=c++11 --- diff --git a/tmk_core/avr.mk b/tmk_core/avr.mk index b48173341..5df539def 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