diff options
| author | Vedant Kumar <vsk@apple.com> | 2020-10-13 14:22:12 -0700 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2020-10-13 16:50:54 -0700 |
| commit | 24c1660ac5d7813072b429eee7a9531338e53aea (patch) | |
| tree | b70397b641fd9cf1b361f5e882f424e0e7a08e6e /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 7fafaa07bcaddd6cad8323940b73c0df98a8f02a (diff) | |
[cmake] Unconditionally set the force flag when codesigning
The Darwin linker now defaults to ad hoc signing binaries when targeting
Apple Silicon. This creates a problem when configuring targets that must
be built with entitlements: we either need to add -Wl,-no_adhoc_codesign
when building the target, or sign with the force flag set to allow
replacing a pre-existing signature.
Unconditionally force-signing is the more convenient solution. This
doesn't require a ld64 version check, and it's a much less invasive
cmake change.
Patch by Fred Riss!
rdar://70237254
Differential Revision: https://reviews.llvm.org/D89343
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
