From: Chris Lattner Date: Mon, 4 Sep 2006 01:49:10 +0000 (+0000) Subject: If a cycle exists, don't succeed building the second time around. X-Git-Tag: android-x86-6.0-r1~1003^2~40917 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=80930eb414a7fb3c212984a79f651e6322259347;p=android-x86%2Fexternal-llvm.git If a cycle exists, don't succeed building the second time around. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30076 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-config/Makefile b/tools/llvm-config/Makefile index 5856196599b..fe4993d6727 100644 --- a/tools/llvm-config/Makefile +++ b/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