Make sure LLVMGCCWITHPATH is used instead of just LLVMGCC so that the
authorReid Spencer <rspencer@reidspencer.com>
Fri, 24 Dec 2004 03:44:24 +0000 (03:44 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 24 Dec 2004 03:44:24 +0000 (03:44 +0000)
CFE tools can find the correct LLVM tools to invoke.

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

test/Makefile.tests

index c49cedd5cf897e1ec76f29d2f247967024bd2378..c597de47fabb86e7f6745104d5026b4eb697fb61 100644 (file)
@@ -50,15 +50,15 @@ clean::
 
 # Compile from X.c to Output/X.ll
 Output/%.ll: %.c $(LCC1) Output/.dir $(INCLUDES)
-       -$(LLVMGCC) $(CPPFLAGS) $(LCCFLAGS) -S $< -o $@
+       -$(LLVMGCCWITHPATH) $(CPPFLAGS) $(LCCFLAGS) -S $< -o $@
 
 # Compile from X.cpp to Output/X.ll
 Output/%.ll: %.cpp $(LCC1XX) Output/.dir $(INCLUDES)
-       -$(LLVMGXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
+       -$(LLVMGXXWITHPATH) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
 
 # Compile from X.cc to Output/X.ll
 Output/%.ll: %.cc $(LCC1XX) Output/.dir $(INCLUDES)
-       -$(LLVMGXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
+       -$(LLVMGXXWITHPATH) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
 
 # LLVM Assemble from Output/X.ll to Output/X.bc.  Output/X.ll must have come
 # from GCC output, so use GCCAS.