ソースを参照

Merge pull request #942 from priyadi/cpp11

The adafruit BLE C++ code requires -std=c++11
Jack Humbert 8 年 前
コミット
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
 
 CPPFLAGS += $(COMPILEFLAGS)
-CPPFLAGS += -fno-exceptions
+CPPFLAGS += -fno-exceptions -std=c++11
 
 LDFLAGS +=-Wl,--gc-sections