build: Add support for a TOOL_ORDER_FILE variable so commands can build with an

order file on Darwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114050 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2010-09-16 00:42:32 +00:00
parent ea606bb76b
commit ccfaa4be43

View File

@ -1325,6 +1325,18 @@ endif
endif
endif
#---------------------------------------------------------
# Tool Order File Support
#---------------------------------------------------------
ifeq ($(HOST_OS),Darwin)
ifdef TOOL_ORDER_FINE
LD.Flags += -Wl,-order_file,$(TOOL_ORDER_FILE)
endif
endif
#---------------------------------------------------------
# Tool Version Info Support
#---------------------------------------------------------