From 1b7ff0793be47c533d0cf7d98d25e02455db2424 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 18 Oct 2020 21:04:32 -0700 Subject: [PATCH] ARDUINO_CFLAGS is, as far as I can tell, historical --- bin/kaleidoscope-builder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index b618b470..8038fddb 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -484,7 +484,7 @@ do_compile_with_builder() { -build-path "${BUILD_PATH}" \ -ide-version "${ARDUINO_IDE_VERSION}" \ -built-in-libraries "${ARDUINO_PATH}/libraries" \ - -prefs "compiler.cpp.extra_flags=$(printf "%q", "${ARDUINO_CFLAGS} ${LOCAL_CFLAGS}")" \ + -prefs "compiler.cpp.extra_flags=$(printf "%q", "${LOCAL_CFLAGS}")" \ -prefs compiler.path="${COMPILER_PATH}" \ -prefs compiler.c.cmd="${_CMD_CC}" \ -prefs compiler.cpp.cmd="${_CMD_CXX}" \ @@ -505,7 +505,7 @@ do_compile_with_cli() { --libraries "${KALEIDOSCOPE_DIR}/.." \ --build-path "${BUILD_PATH}" \ --output-dir "${OUTPUT_PATH}" \ - --build-properties "compiler.cpp.extra_flags=$(printf "%q", "${ARDUINO_CFLAGS} ${LOCAL_CFLAGS}")" \ + --build-properties "compiler.cpp.extra_flags=$(printf "%q", ${LOCAL_CFLAGS})" \ --build-properties compiler.path="${COMPILER_PATH}" \ --build-properties "compiler.c.cmd=${_CMD_CC}" \ --build-properties "compiler.cpp.cmd=${_CMD_CXX}" \