Override PATH to submake so that all tools are found if the PATH is
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Mon, 8 Nov 2004 05:35:03 +0000 (05:35 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Mon, 8 Nov 2004 05:35:03 +0000 (05:35 +0000)
not set up properly (it also avoids using different tools that happen
to be in the path).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17612 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index f633361c31e7262df4b54a45ff716c9ebe74f880..d7dd3a3e2004565345ef83f0cc7b9ae8eafdfe12 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,4 +37,4 @@ check ::
 tools-only: all
 
 check-dejagnu:
-       cd test; $(MAKE) check-dejagnu TESTSUITE=$(TESTSUITE)
+       PATH=$(LLVMToolDir):$(PATH) $(MAKE) -C test check-dejagnu TESTSUITE=$(TESTSUITE)