aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-09-16 00:42:38 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-09-16 00:42:38 +0000
commit6dbcaf3849709e271ffad5974150a6adbbfbb064 (patch)
tree756f97514f3f7d9c3ec2cb21210bea073e059bc9
parentb3198178daf9d33466fc18e009e2c6692fdf29c0 (diff)
build: Add support for a CLANG_ORDER_FILE build variable to specify the path to
the order file to use for the clang executable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114052 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/driver/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/driver/Makefile b/tools/driver/Makefile
index 0f5d962c22..585a918f4a 100644
--- a/tools/driver/Makefile
+++ b/tools/driver/Makefile
@@ -23,6 +23,10 @@ ifdef CLANG_IS_PRODUCTION
TOOL_NO_EXPORTS := 1
endif
+ifdef CLANG_ORDER_FILE
+TOOL_ORDER_FILE := $(CLANG_ORDER_FILE)
+endif
+
# Include tool version information on OS X.
TOOL_INFO_PLIST := Info.plist