summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitc19eaaa9d4025ee756e57e1c90285cc471aa33ba (patch)
treee5ab9f735eb59dda6a3544966d487d75a55a0ba3 /llvm/lib/CompilerDriver
parent49a79412dea0d403a8bfe4500f2f2c4d4a6d1ecd (diff)
downloadbcm5719-llvm-c19eaaa9d4025ee756e57e1c90285cc471aa33ba.tar.gz
bcm5719-llvm-c19eaaa9d4025ee756e57e1c90285cc471aa33ba.zip
have the makefiles check the llvm-config error code instead of charging
on an producing weird link errors. Patch by Yuri Gribov! llvm-svn: 112714
Diffstat (limited to 'llvm/lib/CompilerDriver')
-rw-r--r--llvm/lib/CompilerDriver/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CompilerDriver/Makefile b/llvm/lib/CompilerDriver/Makefile
index 69c3707780a..8e8b73ca8f8 100644
--- a/llvm/lib/CompilerDriver/Makefile
+++ b/llvm/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
OpenPOWER on IntegriCloud