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

order file on Darwin.

llvm-svn: 114050
This commit is contained in:
Daniel Dunbar 2010-09-16 00:42:32 +00:00
parent b85d2897d5
commit efebe50dd8

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
#---------------------------------------------------------