From: Stephan Dollberg Date: Tue, 1 Feb 2022 02:18:14 +0000 (+0000) Subject: NativeAot: Allow disabling -pie flag (#64580) X-Git-Tag: accepted/tizen/unified/riscv/20231226.055536~11128 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58db8db15081859d882784e52befe544a198730c;p=platform%2Fupstream%2Fdotnet%2Fruntime.git NativeAot: Allow disabling -pie flag (#64580) Adds a msbuild property `PositionIndependentExecutable` to the -pie flag. While good by default for security reasons they might make binary incompatible with certain tools. --- diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props index b49f24e..4e8bbec 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props @@ -90,7 +90,7 @@ The .NET Foundation licenses this file to you under the MIT license. - +