summaryrefslogtreecommitdiff
path: root/build.cmd
diff options
context:
space:
mode:
authorKyungwoo Lee <kyulee@microsoft.com>2016-03-18 12:41:04 -0700
committerKyungwoo Lee <kyulee@microsoft.com>2016-03-18 12:41:19 -0700
commit7b4e301fc106fa787ae133502a15a8d436c1ba03 (patch)
tree928aa6059cc0d8870a82839e63dad61b28a88057 /build.cmd
parent8417eff38ad3514c726190bdf09f4d861848a499 (diff)
downloadcoreclr-7b4e301fc106fa787ae133502a15a8d436c1ba03.tar.gz
coreclr-7b4e301fc106fa787ae133502a15a8d436c1ba03.tar.bz2
coreclr-7b4e301fc106fa787ae133502a15a8d436c1ba03.zip
ARM64: Prepend toolset path
Currently ARM64 build requires a plain CMD environment which often causes a trouble when we use a different CMD or other native tools are in the path. The fix is to simply prepend the tool path instead of appending it.
Diffstat (limited to 'build.cmd')
-rw-r--r--build.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.cmd b/build.cmd
index 6f2edf894c..82fa0a5a7c 100644
--- a/build.cmd
+++ b/build.cmd
@@ -682,7 +682,7 @@ if /i "%__ToolsetDir%" == "" (
exit /b 1
)
-set PATH=%PATH%;%__ToolsetDir%\cpp\bin
+set PATH=%__ToolsetDir%\cpp\bin;%PATH%
set LIB=%__ToolsetDir%\OS\lib;%__ToolsetDir%\cpp\lib
set INCLUDE=^
%__ToolsetDir%\cpp\inc;^