diff options
author | Gaurav Khanna <gkhanna@microsoft.com> | 2015-10-13 22:17:43 +0300 |
---|---|---|
committer | Gaurav Khanna <gkhanna@microsoft.com> | 2015-10-13 22:17:43 +0300 |
commit | c1bd701e78c96638c4cc85fccb5296e3c498f37b (patch) | |
tree | 4846e80c34f4ca82d0a2c4a6663e26a9f86468c2 /build.sh | |
parent | c1586e674fc2c45cdedcb84ee3dc81cafbef341c (diff) |
Build CoreRT GCSample for Mac
Add check for Darwin OS to enable building the same for Mac
Diffstat (limited to 'build.sh')
-rwxr-xr-x[-rw-r--r--] | build.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build.sh b/build.sh index 71bd808ee..1a4f1bd1c 100644..100755 --- a/build.sh +++ b/build.sh @@ -106,11 +106,6 @@ prepare_native_build() # This is where all built CoreClr libraries will copied to. export __CMakeBinDir="$__BinDir" - # Configure environment if we are doing a clean build. - if [ $__CleanBuild == 1 ]; then - clean - fi - # Configure environment if we are doing a verbose build if [ $__VerboseBuild == 1 ]; then export VERBOSE=1 @@ -296,6 +291,11 @@ __BinDir="$__rootbinpath/$__BuildOS.$__BuildArch.$__BuildType/Native" # Make the directories necessary for build if they don't exist +# Configure environment if we are doing a clean build. +if [ $__CleanBuild == 1 ]; then + clean +fi + setup_dirs if $__buildmanaged; then |