[PATCH] D89343: [cmake] Unconditionally set the force flag when codesigning
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 13 16:51:30 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG24c1660ac5d7: [cmake] Unconditionally set the force flag when codesigning (authored by vsk).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89343/new/
https://reviews.llvm.org/D89343
Files:
llvm/cmake/modules/AddLLVM.cmake
Index: llvm/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/cmake/modules/AddLLVM.cmake
+++ llvm/cmake/modules/AddLLVM.cmake
@@ -2026,9 +2026,10 @@
set(ARG_BUNDLE_PATH $<TARGET_FILE:${name}>)
endif()
- if(ARG_FORCE)
- set(force_flag "-f")
- endif()
+ # ld64 now always codesigns the binaries it creates. Apply the force arg
+ # unconditionally so that we can - for example - add entitlements to the
+ # targets that need it.
+ set(force_flag "-f")
add_custom_command(
TARGET ${name} POST_BUILD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89343.297996.patch
Type: text/x-patch
Size: 602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201013/da99a245/attachment.bin>
More information about the llvm-commits
mailing list