[PATCH] Allow users to choose identity used to sign tools.
Filipe Cabecinhas
filcab+llvm.phabricator at gmail.com
Fri Apr 5 19:49:29 PDT 2013
- Address reviews from cdavis (too verbose).
Hi echristo,
http://llvm-reviews.chandlerc.com/D632
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D632?vs=1531&id=1538#toc
Files:
Makefile.rules
Index: Makefile.rules
===================================================================
--- Makefile.rules
+++ Makefile.rules
@@ -1515,14 +1515,16 @@
endif
ifdef CODESIGN_TOOLS
+TOOL_CODESIGN_IDENTITY ?= -
+
$(ToolBuildPath): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
$(Echo) Linking $(BuildMode) executable $(TOOLNAME) $(StripWarnMsg)
$(Verb) $(Link) -o $@ $(TOOLLINKOPTS) $(ObjectsO) $(ProjLibsOptions) \
$(LLVMLibsOptions) $(ExtraLibs) $(TOOLLINKOPTSB) $(LIBS)
$(Echo) ======= Finished Linking $(BuildMode) Executable $(TOOLNAME) \
$(StripWarnMsg)
$(Echo) ======= Code-Signing $(BuildMode) Executable $(TOOLNAME)
- $(Verb) codesign -s - $@
+ $(Verb) codesign --sign $(CODESIGN_IDENTITY) $@
else
$(ToolBuildPath): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
$(Echo) Linking $(BuildMode) executable $(TOOLNAME) $(StripWarnMsg)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D632.2.patch
Type: text/x-patch
Size: 866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130405/9147b259/attachment.bin>
More information about the llvm-commits
mailing list