aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CompilerDriver
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-01 16:11:17 +0000
committerChris Lattner <sabre@nondot.org>2010-09-01 16:11:17 +0000
commitf636aa9c7e73c426bf5ddaec1c874e00fd4d2bf7 (patch)
tree571f62597a7d2c1aa0c89a86563ab7bc49e54e5f /lib/CompilerDriver
parent0b5b18340b9c57e8c97172b3190bb97371b72e08 (diff)
downloadexternal_llvm-f636aa9c7e73c426bf5ddaec1c874e00fd4d2bf7.zip
external_llvm-f636aa9c7e73c426bf5ddaec1c874e00fd4d2bf7.tar.gz
external_llvm-f636aa9c7e73c426bf5ddaec1c874e00fd4d2bf7.tar.bz2
have the makefiles check the llvm-config error code instead of charging
on an producing weird link errors. Patch by Yuri Gribov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112714 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CompilerDriver')
-rw-r--r--lib/CompilerDriver/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CompilerDriver/Makefile b/lib/CompilerDriver/Makefile
index 69c3707..8e8b73c 100644
--- a/lib/CompilerDriver/Makefile
+++ b/lib/CompilerDriver/Makefile
@@ -10,9 +10,11 @@
LEVEL = ../..
# We don't want this library to appear in `llvm-config --libs` output, so its
-# name doesn't start with "LLVM".
+# name doesn't start with "LLVM" and NO_LLVM_CONFIG is set.
LIBRARYNAME = CompilerDriver
LINK_COMPONENTS = support system
+NO_LLVM_CONFIG = 1
+
include $(LEVEL)/Makefile.common