File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ check_unignored_build_artifacts ()
7474 }
7575}
7676
77+ # Clear MAKEFLAGS that may come from the outside world.
78+ export MAKEFLAGS=
79+
7780# Set 'exit on error' for all CI scripts to let the caller know that
7881# something went wrong.
7982# Set tracing executed commands, primarily setting environment variables
101104 BREW_INSTALL_PACKAGES=" git-lfs gettext"
102105 export GIT_PROVE_OPTS=" --timer --jobs 3 --state=failed,slow,save"
103106 export GIT_TEST_OPTS=" --verbose-log -x --immediate"
104- export MAKEFLAGS=" --jobs=2"
107+ MAKEFLAGS=" $MAKEFLAGS --jobs=2"
105108elif test -n " $SYSTEM_COLLECTIONURI " || test -n " $SYSTEM_TASKDEFINITIONSURI "
106109then
107110 CI_TYPE=azure-pipelines
126129 BREW_INSTALL_PACKAGES=gcc@8
127130 export GIT_PROVE_OPTS=" --timer --jobs 10 --state=failed,slow,save"
128131 export GIT_TEST_OPTS=" --verbose-log -x --write-junit-xml"
129- export MAKEFLAGS=" --jobs=10"
132+ MAKEFLAGS=" $MAKEFLAGS --jobs=10"
130133 test windows_nt ! = " $CI_OS_NAME " ||
131134 GIT_TEST_OPTS=" --no-chain-lint --no-bin-wrappers $GIT_TEST_OPTS "
132135else
@@ -185,4 +188,4 @@ GIT_TEST_GETTEXT_POISON)
185188 ;;
186189esac
187190
188- export MAKEFLAGS=" CC=${CC:- cc} "
191+ MAKEFLAGS=" $MAKEFLAGS CC=${CC:- cc} "
You can’t perform that action at this time.
0 commit comments