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 44703efeb45cd..a0c5cbae672eb 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets @@ -318,7 +318,8 @@ The .NET Foundation licenses this file to you under the MIT license. - + + @@ -335,6 +336,9 @@ The .NET Foundation licenses this file to you under the MIT license. -x + + + diff --git a/src/tests/nativeaot/SmokeTests/DwarfDump/Program.cs b/src/tests/nativeaot/SmokeTests/DwarfDump/Program.cs index 0096a28c92f1e..39e6c815c0dda 100644 --- a/src/tests/nativeaot/SmokeTests/DwarfDump/Program.cs +++ b/src/tests/nativeaot/SmokeTests/DwarfDump/Program.cs @@ -54,8 +54,8 @@ public static int Main(string[] args) const int MinWarnings = 16500; const int MaxWarnings = 18500; #else - const int MinWarnings = 9500; - const int MaxWarnings = 10500; + const int MinWarnings = 12000; + const int MaxWarnings = 13000; #endif int count = 0; string line;