浏览代码

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