From 41a53647602bbc6523bb0ce1a3887d9157d88243 Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Tue, 19 Nov 2019 11:08:57 -0800 Subject: [PATCH] Fix coreclr release build on windows to not use unknown switch --- src/coreclr/coreclr.proj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/coreclr.proj b/src/coreclr/coreclr.proj index efdb3a58e65e8e..3749f577fa5c7d 100644 --- a/src/coreclr/coreclr.proj +++ b/src/coreclr/coreclr.proj @@ -9,7 +9,7 @@ <_CoreClrBuildArg Include="-$(Configuration.ToLower())" /> <_CoreClrBuildArg Condition="'$(ContinuousIntegrationBuild)' == 'true'" Include="-ci" /> <_CoreClrBuildArg Condition="$([MSBuild]::IsOsPlatform(Windows)) and ('$(Platform)' == 'x86' or '$(Platform)' == 'x64') and '$(Configuration)' == 'Release'" Include="-enforcepgo" /> - <_CoreClrBuildArg Condition="'$(Configuration)' == 'Release'" Include="-stripsymbols" /> + <_CoreClrBuildArg Condition="!$([MSBuild]::IsOsPlatform(Windows)) and '$(Configuration)' == 'Release'" Include="-stripsymbols" /> <_CoreClrBuildArg Condition="'$(OfficialBuildId)' == ''" Include="-officialbuildid=$(OfficialBuildId)" />