[PATCH] Allow users to choose identity used to sign tools.
    Filipe Cabecinhas 
    filcab+llvm.phabricator at gmail.com
       
    Wed Apr 24 17:17:50 PDT 2013
    
    
  
  Fixed variable naming.
Hi echristo,
http://llvm-reviews.chandlerc.com/D632
CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D632?vs=1639&id=1771#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 -s $(TOOL_CODESIGN_IDENTITY) $@
 else
 $(ToolBuildPath): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
 	$(Echo) Linking $(BuildMode) executable $(TOOLNAME) $(StripWarnMsg)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D632.4.patch
Type: text/x-patch
Size: 867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130424/c9f7077c/attachment.bin>
    
    
More information about the llvm-commits
mailing list