summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-04 01:49:10 +0000
committerChris Lattner <sabre@nondot.org>2006-09-04 01:49:10 +0000
commitc754b0a37fe9b0a1399df29d73e4095e3d6a0e50 (patch)
tree95ce18b0b6783e8e549ebffcbd99ec783869cabb
parentdcd72422fd95504d0839a9b25ca2904b1b735fb7 (diff)
downloadbcm5719-llvm-c754b0a37fe9b0a1399df29d73e4095e3d6a0e50.tar.gz
bcm5719-llvm-c754b0a37fe9b0a1399df29d73e4095e3d6a0e50.zip
If a cycle exists, don't succeed building the second time around.
llvm-svn: 30076
-rw-r--r--llvm/tools/llvm-config/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-config/Makefile b/llvm/tools/llvm-config/Makefile
index 5856196599b..fe4993d6727 100644
--- a/llvm/tools/llvm-config/Makefile
+++ b/llvm/tools/llvm-config/Makefile
@@ -39,7 +39,7 @@ $(LibDeps): $(GenLibDeps) $(LibDir) $(wildcard $(LibDir)/*.a $(LibDir)/*.o)
# don't have to process them at runtime.
$(FinalLibDeps): find-cycles.pl $(LibDeps)
$(Echo) "Finding cyclic dependencies between LLVM libraries."
- $(Verb) $(PERL) $< < $(LibDeps) > $@
+ $(Verb) $(PERL) $< < $(LibDeps) > $@ || rm -f $@
# Rerun our configure substitutions as needed.
ConfigInIn = $(PROJ_SRC_DIR)/llvm-config.in.in
OpenPOWER on IntegriCloud