mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-22 05:21:13 +00:00
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
This commit is contained in:
parent
0177a5de8f
commit
38df760581
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user