diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets index 9e1a1e633ef8a..ad6195b98cda0 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets @@ -14,9 +14,9 @@ The .NET Foundation licenses this file to you under the MIT license. --> - true - clang - gcc + + gcc + clang $(CppCompilerAndLinker) ar --flat @@ -121,6 +121,8 @@ The .NET Foundation licenses this file to you under the MIT license. objcopy llvm-objcopy + + objcopy @@ -132,8 +134,20 @@ The .NET Foundation licenses this file to you under the MIT license. + + + + + + + $(ObjCopyNameAlternative) + <_WhereSymbolStripper>0 + + + + Text="Symbol stripping tool ('$(ObjCopyName)') not found in PATH. Make sure '$(ObjCopyName)' is available in PATH" />