diff --git a/testing/makefiles/testcase.mk b/testing/makefiles/testcase.mk index 77daf9ec..288724a1 100644 --- a/testing/makefiles/testcase.mk +++ b/testing/makefiles/testcase.mk @@ -1,5 +1,6 @@ top_dir := $(dir $(lastword ${MAKEFILE_LIST}))../.. +include $(top_dir)/etc/makefiles/arduino-cli-prop.mk build_dir := ${top_dir}/_build/${testcase} @@ -52,7 +53,7 @@ compile-sketch: OUTPUT_PATH="${LIB_DIR}" \ VERBOSE=${VERBOSE} \ $(MAKE) -f ${top_dir}/testing/makefiles/delegate.mk compile - g++ -o "${BIN_DIR}/${BIN_FILE}" \ + $(call _arduino_prop,compiler.cpp.cmd) -o "${BIN_DIR}/${BIN_FILE}" \ -lpthread \ -g \ -w \ @@ -84,7 +85,7 @@ endif ${OBJ_DIR}/%.o: ${SRC_DIR}/%.cpp @echo "compile $@" install -d "${OBJ_DIR}" - g++ -o "$@" -c \ + $(call _arduino_prop,compiler.cpp.cmd) -o "$@" -c \ -std=c++14 \ -I${top_dir} \ -I${top_dir}/src \