Skip to content

Commit 513ca80

Browse files
authored
BuildID parameter correction (dotnet#68681)
* Correct parameter itemgroup, scope of the flag, and flag value.
1 parent 8cada8e commit 513ca80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ The .NET Foundation licenses this file to you under the MIT license.
7979
<LinkerArg Include="-g" Condition="$(NativeDebugSymbols) == 'true'" />
8080
<LinkerArg Include="-Wl,--strip-debug" Condition="$(NativeDebugSymbols) != 'true' and '$(TargetOS)' != 'OSX'" />
8181
<LinkerArg Include="-Wl,-rpath,'$(IlcRPath)'" />
82-
<LingerArg Include="-Wl,--build-id" />
82+
<LinkerArg Include="-Wl,--build-id=sha1" Condition="'$(TargetOS)' != 'OSX'" />
8383
<LinkerArg Include="-Wl,--as-needed" Condition="'$(TargetOS)' != 'OSX'" />
8484
<LinkerArg Include="-pthread" Condition="'$(TargetOS)' != 'OSX'" />
8585
<LinkerArg Include="-lstdc++" />

0 commit comments

Comments
 (0)