diff options
-rw-r--r-- | tools/driver/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/driver/Makefile b/tools/driver/Makefile index 447f0e4eb0..0f5d962c22 100644 --- a/tools/driver/Makefile +++ b/tools/driver/Makefile @@ -17,6 +17,12 @@ else endif endif +# We don't currently expect production Clang builds to be interested in +# plugins. This is important for startup performance. +ifdef CLANG_IS_PRODUCTION +TOOL_NO_EXPORTS := 1 +endif + # Include tool version information on OS X. TOOL_INFO_PLIST := Info.plist |