mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Allow users to choose identity used to sign tools.
Summary: No change if the identity isn't defined by the makefile. Reviewers: echristo Differential Revision: http://llvm-reviews.chandlerc.com/D632 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
385de77303
commit
aa27161a01
@ -1515,6 +1515,8 @@ $(ToolBuildPath): $(ToolDir)/.dir
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CODESIGN_TOOLS
|
ifdef CODESIGN_TOOLS
|
||||||
|
TOOL_CODESIGN_IDENTITY ?= -
|
||||||
|
|
||||||
$(ToolBuildPath): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
|
$(ToolBuildPath): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
|
||||||
$(Echo) Linking $(BuildMode) executable $(TOOLNAME) $(StripWarnMsg)
|
$(Echo) Linking $(BuildMode) executable $(TOOLNAME) $(StripWarnMsg)
|
||||||
$(Verb) $(Link) -o $@ $(TOOLLINKOPTS) $(ObjectsO) $(ProjLibsOptions) \
|
$(Verb) $(Link) -o $@ $(TOOLLINKOPTS) $(ObjectsO) $(ProjLibsOptions) \
|
||||||
@ -1522,7 +1524,7 @@ $(ToolBuildPath): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
|
|||||||
$(Echo) ======= Finished Linking $(BuildMode) Executable $(TOOLNAME) \
|
$(Echo) ======= Finished Linking $(BuildMode) Executable $(TOOLNAME) \
|
||||||
$(StripWarnMsg)
|
$(StripWarnMsg)
|
||||||
$(Echo) ======= Code-Signing $(BuildMode) Executable $(TOOLNAME)
|
$(Echo) ======= Code-Signing $(BuildMode) Executable $(TOOLNAME)
|
||||||
$(Verb) codesign -s - $@
|
$(Verb) codesign -s $(TOOL_CODESIGN_IDENTITY) $@
|
||||||
else
|
else
|
||||||
$(ToolBuildPath): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
|
$(ToolBuildPath): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
|
||||||
$(Echo) Linking $(BuildMode) executable $(TOOLNAME) $(StripWarnMsg)
|
$(Echo) Linking $(BuildMode) executable $(TOOLNAME) $(StripWarnMsg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user