summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorOmair Majid <omair.majid@gmail.com>2017-06-14 01:39:08 -0400
committerDan Moseley <danmose@microsoft.com>2017-06-13 22:39:08 -0700
commitd2f9e21c69e70f1d0edac2392ff95d4670edff6e (patch)
treeffa76fa18b64d8fafa0de0afbd7c8b5d67f94b2b /build.sh
parent40228489c1340b02567a23a263378872fcc45fba (diff)
downloadcoreclr-d2f9e21c69e70f1d0edac2392ff95d4670edff6e.tar.gz
coreclr-d2f9e21c69e70f1d0edac2392ff95d4670edff6e.tar.bz2
coreclr-d2f9e21c69e70f1d0edac2392ff95d4670edff6e.zip
Keep previous cmake arguments when using buildstandalonegc (#12108)
Currently, using buildstandalonegc makes ./build.sh discard any previous values of __cmakearg set explicitly or implicitly. Preserve those arguments. Without this fix, the following invocations behave differently: $ ./build.sh ignorewarnings buildstandalonegc verbose $ ./build.sh buildstandalonegc ignorewarnings verbose
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index f337ae22a5..3412663714 100755
--- a/build.sh
+++ b/build.sh
@@ -812,7 +812,7 @@ while :; do
fi
;;
buildstandalonegc)
- __cmakeargs="-DFEATURE_STANDALONE_GC=1 -DFEATURE_STANDALONE_GC_ONLY=1"
+ __cmakeargs="$__cmakeargs -DFEATURE_STANDALONE_GC=1 -DFEATURE_STANDALONE_GC_ONLY=1"
;;
msbuildonunsupportedplatform)
__msbuildonunsupportedplatform=1