File tree 1 file changed +2
-3
lines changed
src/coreclr/nativeaot/BuildIntegration
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -285,12 +285,11 @@ The .NET Foundation licenses this file to you under the MIT license.
285
285
<Error Condition =" '$(_WhereLinker)' != '0' and '$(CppCompilerAndLinkerAlternative)' == '' and '$(_IsApplePlatform)' != 'true'"
286
286
Text =" Requested linker ('$(CppLinker)') not found in PATH." />
287
287
288
- <Exec Command =" " $(CppLinker)" -fuse-ld=lld -Wl,--version" Condition =" '$(LinkerFlavor)' == 'lld'" IgnoreExitCode =" true" StandardOutputImportance =" Low" ConsoleToMSBuild =" true" >
289
- <Output TaskParameter =" ExitCode" PropertyName =" _LinkerVersionStringExitCode" />
288
+ <Exec Command =" " $(CppLinker)" -fuse-ld=lld -Wl,--version" Condition =" '$(LinkerFlavor)' == 'lld'" StandardOutputImportance =" Low" ConsoleToMSBuild =" true" >
290
289
<Output TaskParameter =" ConsoleOutput" PropertyName =" _LinkerVersionString" />
291
290
</Exec >
292
291
293
- <PropertyGroup Condition =" '$(_LinkerVersionStringExitCode)' == '0' and '$( _LinkerVersionString)' != ''" >
292
+ <PropertyGroup Condition =" '$(_LinkerVersionString)' != ''" >
294
293
<_LinkerVersion >$([System.Text.RegularExpressions.Regex]::Match($(_LinkerVersionString), '[1-9]\d*'))</_LinkerVersion >
295
294
</PropertyGroup >
296
295
You can’t perform that action at this time.
0 commit comments