diff options
author | Omair Majid <omair.majid@gmail.com> | 2017-06-14 01:39:08 -0400 |
---|---|---|
committer | Dan Moseley <danmose@microsoft.com> | 2017-06-13 22:39:08 -0700 |
commit | d2f9e21c69e70f1d0edac2392ff95d4670edff6e (patch) | |
tree | ffa76fa18b64d8fafa0de0afbd7c8b5d67f94b2b /build.sh | |
parent | 40228489c1340b02567a23a263378872fcc45fba (diff) | |
download | coreclr-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-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |