[llvm-commits] CVS: llvm/tools/llvm-config/Makefile

Chris Lattner lattner at cs.uiuc.edu
Sun Sep 3 18:49:24 PDT 2006



Changes in directory llvm/tools/llvm-config:

Makefile updated: 1.16 -> 1.17
---
Log message:

If a cycle exists, don't succeed building the second time around.


---
Diffs of the changes:  (+1 -1)

 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/tools/llvm-config/Makefile
diff -u llvm/tools/llvm-config/Makefile:1.16 llvm/tools/llvm-config/Makefile:1.17
--- llvm/tools/llvm-config/Makefile:1.16	Fri Aug  4 17:55:53 2006
+++ llvm/tools/llvm-config/Makefile	Sun Sep  3 20:49:10 2006
@@ -39,7 +39,7 @@
 # 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






More information about the llvm-commits mailing list