[llvm-commits] [llvm] r114050 - /llvm/trunk/Makefile.rules

Daniel Dunbar daniel at zuster.org
Wed Sep 15 17:42:32 PDT 2010


Author: ddunbar
Date: Wed Sep 15 19:42:32 2010
New Revision: 114050

URL: http://llvm.org/viewvc/llvm-project?rev=114050&view=rev
Log:
build: Add support for a TOOL_ORDER_FILE variable so commands can build with an
order file on Darwin.

Modified:
    llvm/trunk/Makefile.rules

Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=114050&r1=114049&r2=114050&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Wed Sep 15 19:42:32 2010
@@ -1326,6 +1326,18 @@
 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
 #---------------------------------------------------------
 





More information about the llvm-commits mailing list