Эх сурвалжийг харах

Merge pull request #942 from priyadi/cpp11

The adafruit BLE C++ code requires -std=c++11
Jack Humbert 8 жил өмнө
parent
commit
02fa4e3ce2
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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
 CFLAGS += -fno-strict-aliasing
 
 
 CPPFLAGS += $(COMPILEFLAGS)
 CPPFLAGS += $(COMPILEFLAGS)
-CPPFLAGS += -fno-exceptions
+CPPFLAGS += -fno-exceptions -std=c++11
 
 
 LDFLAGS +=-Wl,--gc-sections
 LDFLAGS +=-Wl,--gc-sections