From 4f58e476f74b8fe3397559aaaadd918d6d8dda11 Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Tue, 19 Nov 2019 13:10:40 -0800 Subject: [PATCH] Fix coreclr release build on windows to not use unknown switch (#128) --- 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 efdb3a58e65e8..3749f577fa5c7 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)" />