From 04fb39b4414326fe130116bbbae7921cb352771a Mon Sep 17 00:00:00 2001 From: Adeel <3840695+am11@users.noreply.github.com> Date: Wed, 12 Apr 2023 01:06:53 +0300 Subject: [PATCH] Lower the lld version requirement --- .../Microsoft.NETCore.Native.Unix.targets | 9 +++++++++ .../BuildIntegration/Microsoft.NETCore.Native.targets | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets index 2c1edf7ab0ecd..27955fd6bc22c 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets @@ -181,6 +181,15 @@ The .NET Foundation licenses this file to you under the MIT license. + + + + + + + <_LinkerVersion>$([System.Text.RegularExpressions.Regex]::Match($(_LinkerVersionString), '[1-9]\d*')) + + diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets index 5b62b6f8906f0..a0c5cbae672eb 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets @@ -319,7 +319,7 @@ The .NET Foundation licenses this file to you under the MIT license. - + @@ -336,8 +336,8 @@ The .NET Foundation licenses this file to you under the MIT license. -x - - + +