aboutsummaryrefslogtreecommitdiff
path: root/arduino-mk-vars.md
diff options
context:
space:
mode:
authorSimon John <git@the-jedi.co.uk>2016-07-25 13:13:02 +0100
committerSimon John <git@the-jedi.co.uk>2016-07-25 13:13:02 +0100
commite4b30603d8c846f9b108358c30d564887bfd1878 (patch)
tree12953b891027613370fa9a231eda454b43d06120 /arduino-mk-vars.md
parent77431bf2504eaf8cb36ac671ee40ca06c07484fd (diff)
Added -std=gnu++11 -fno-threadsafe-statics to CXXFLAGS_STD if we're using Arduino 1.6 to match
upstream (without it compilation seems to fail on OSX). Updated docs. Also made ARDUINO_LIB_PATH overloadable (as implied by arduino-mk-vars.md) although this is a pretty niche use-case.
Diffstat (limited to 'arduino-mk-vars.md')
-rw-r--r--arduino-mk-vars.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/arduino-mk-vars.md b/arduino-mk-vars.md
index 9a925e0..b160d93 100644
--- a/arduino-mk-vars.md
+++ b/arduino-mk-vars.md
@@ -929,7 +929,7 @@ CFLAGS_STD = = -std=gnu89
Controls, *exclusively*, which C++ standard is to be used for compilation.
-Defaults to `undefined`
+Defaults to `undefined` on 1.0 or `-std=gnu++11 -fno-threadsafe-statics` on 1.5+
Possible values: