Add the ability to specify CFLAGS through the builder

pull/135/head
Jesse Vincent 8 years ago
parent d75939d456
commit 813a48a04f
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -126,7 +126,7 @@ compile () {
-ide-version "${ARDUINO_IDE_VERSION}" \
-warnings all \
${ARDUINO_VERBOSE} \
-prefs "compiler.cpp.extra_flags=-std=c++11 -Woverloaded-virtual -Wno-unused-parameter -Wno-unused-variable -Wno-ignored-qualifiers" \
-prefs "compiler.cpp.extra_flags=-std=c++11 -Woverloaded-virtual -Wno-unused-parameter -Wno-unused-variable -Wno-ignored-qualifiers ${ARDUINO_CFLAGS}" \
${ARDUINO_AVR_GCC_PREFIX_PARAM} \
"$(find_sketch)/${SKETCH}.ino"

Loading…
Cancel
Save