]> granicus.if.org Git - clang/commitdiff
build: Add support for a CLANG_ORDER_FILE build variable to specify the path to
authorDaniel Dunbar <daniel@zuster.org>
Thu, 16 Sep 2010 00:42:38 +0000 (00:42 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 16 Sep 2010 00:42:38 +0000 (00:42 +0000)
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

tools/driver/Makefile

index 0f5d962c229b6f27c666a1d5913a44040f1c3103..585a918f4a78fe03ec8792e9b8a92669e77ea491 100644 (file)
@@ -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