Explorar el Código

Merge pull request #942 from priyadi/cpp11

The adafruit BLE C++ code requires -std=c++11
Jack Humbert hace 8 años
padre
commit
02fa4e3ce2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tmk_core/avr.mk

+ 1 - 1
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