NativeAot: Allow disabling -pie flag (#64580)
authorStephan Dollberg <s@stephandollberg.com>
Tue, 1 Feb 2022 02:18:14 +0000 (02:18 +0000)
committerGitHub <noreply@github.com>
Tue, 1 Feb 2022 02:18:14 +0000 (18:18 -0800)
commit58db8db15081859d882784e52befe544a198730c
tree429a3e9944ba25eff881f44341cba2f6e252ce6b
parent463e279f75fcffe09954d29242a8bb43b2014449
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.
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props