Browse Source

Merge pull request #942 from priyadi/cpp11

The adafruit BLE C++ code requires -std=c++11
Jack Humbert 8 năm trước cách đây
mục cha
commit
02fa4e3ce2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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