summaryrefslogtreecommitdiff
path: root/src/pal/tools
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-12-17 23:44:29 -0800
committerGitHub <noreply@github.com>2016-12-17 23:44:29 -0800
commit4497b25d1107846e0ac8d09fa13e40173528fe9e (patch)
tree1c4b79f46e4ddef283e0dc8ecd3029abe2f15aed /src/pal/tools
parent466fc3252f78619612a2da8d21787460b2d94c0d (diff)
downloadcoreclr-4497b25d1107846e0ac8d09fa13e40173528fe9e.tar.gz
coreclr-4497b25d1107846e0ac8d09fa13e40173528fe9e.tar.bz2
coreclr-4497b25d1107846e0ac8d09fa13e40173528fe9e.zip
Use ExecutionPolicy ByPass to execute probe-win.ps1 script during the build (#8673)
Port of https://github.com/dotnet/corert/issues/2377
Diffstat (limited to 'src/pal/tools')
-rw-r--r--src/pal/tools/gen-buildsys-win.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/tools/gen-buildsys-win.bat b/src/pal/tools/gen-buildsys-win.bat
index ab57fb4bb4..f7f81fca33 100644
--- a/src/pal/tools/gen-buildsys-win.bat
+++ b/src/pal/tools/gen-buildsys-win.bat
@@ -36,7 +36,7 @@ goto loop
if defined CMakePath goto DoGen
:: Eval the output from probe-win1.ps1
-for /f "delims=" %%a in ('powershell -NoProfile -ExecutionPolicy RemoteSigned "& "%basePath%\probe-win.ps1""') do %%a
+for /f "delims=" %%a in ('powershell -NoProfile -ExecutionPolicy ByPass "& "%basePath%\probe-win.ps1""') do %%a
:DoGen
"%CMakePath%" "-DCMAKE_USER_MAKE_RULES_OVERRIDE=%basePath%\windows-compiler-override.txt" "-DCMAKE_INSTALL_PREFIX:PATH=$ENV{__CMakeBinDir}" "-DCLR_CMAKE_HOST_ARCH=%__Arch%" %__ExtraCmakeParams% -G "%__CmakeGenerator%" %__SourceDir%