1 export ENABLE_CLANG_PLUGIN=1
3 if [ -n "$UPLOAD_PATH" ]; then
6 DIAGNOSTICS_DIR="$(cmd.exe //e:on //c if not exist ${UPLOAD_PATH} mkdir ${UPLOAD_PATH} && cd ${UPLOAD_PATH} && pwd)"
9 DIAGNOSTICS_DIR="${UPLOAD_PATH}"
12 export CFLAGS="$CFLAGS -fcrash-diagnostics-dir=${DIAGNOSTICS_DIR}"
13 export CXXFLAGS="$CXXFLAGS -fcrash-diagnostics-dir=${DIAGNOSTICS_DIR}"