From 38df760581ccd5da18edef2254179610ce6e7d45 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 24 Dec 2004 03:44:24 +0000 Subject: [PATCH] Make sure LLVMGCCWITHPATH is used instead of just LLVMGCC so that the CFE tools can find the correct LLVM tools to invoke. llvm-svn: 19128 --- test/Makefile.tests | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Makefile.tests b/test/Makefile.tests index c49cedd5cf8..c597de47fab 100644 --- a/test/Makefile.tests +++ b/test/Makefile.tests @@ -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.