From d05c3cacf809d97a9d9c4cbdd6acbaa5c27981fe Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 13 Nov 2017 21:47:23 -0800 Subject: [PATCH] Back out part of 374a3e136c05897189ef04b0e3da87b7812d7b72 because it breaks our ability to pass -D defines into code We need this to pass the built version into the sketch when doing official builds --- bin/kaleidoscope-builder | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 9db051e9..57442f19 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -145,6 +145,7 @@ compile () { ${EXTRA_BUILDER_ARGS} \ -build-path "${BUILD_PATH}" \ -ide-version "${ARDUINO_IDE_VERSION}" \ + -prefs "compiler.cpp.extra_flags=-std=c++11 -Woverloaded-virtual -Wno-unused-parameter -Wno-unused-variable -Wno-ignored-qualifiers ${ARDUINO_CFLAGS} ${LOCAL_CFLAGS}" \ -warnings all \ ${ARDUINO_VERBOSE} \ ${ARDUINO_AVR_GCC_PREFIX_PARAM} \