[llvm-commits] CVS: llvm/Makefile.rules

Reid Spencer reid at x10sys.com
Mon Nov 29 04:37:55 PST 2004



Changes in directory llvm:

Makefile.rules updated: 1.241 -> 1.242
---
Log message:

Allow reconfig from any directory, not just the top build directory, by 
changing directory first. Also make sure that we don't attempt to run
config.status if the recheck didn't work.


---
Diffs of the changes:  (+3 -2)

Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.241 llvm/Makefile.rules:1.242
--- llvm/Makefile.rules:1.241	Mon Nov 29 01:17:07 2004
+++ llvm/Makefile.rules	Mon Nov 29 06:37:44 2004
@@ -88,8 +88,9 @@
 .PRECIOUS: $(ConfigStatusScript)
 $(ConfigStatusScript): $(ConfigureScript)
 	$(Echo) Reconfiguring with $<
-	$(Verb) $(ConfigStatusScript) --recheck $(ConfigureScriptFLAGS)
-	$(Verb) $(ConfigStatusScript)
+	$(Verb) cd $(BUILD_OBJ_ROOT) && \
+	  $(ConfigStatusScript) --recheck $(ConfigureScriptFLAGS) && \
+	  $(ConfigStatusScript)
 
 #------------------------------------------------------------------------
 # Make sure the configuration makefile is up to date






More information about the llvm-commits mailing list