Keep previous cmake arguments when using buildstandalonegc (#12108)
authorOmair Majid <omair.majid@gmail.com>
Wed, 14 Jun 2017 05:39:08 +0000 (01:39 -0400)
committerDan Moseley <danmose@microsoft.com>
Wed, 14 Jun 2017 05:39:08 +0000 (22:39 -0700)
commitd2f9e21c69e70f1d0edac2392ff95d4670edff6e
treeffa76fa18b64d8fafa0de0afbd7c8b5d67f94b2b
parent40228489c1340b02567a23a263378872fcc45fba
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
build.sh