diff --git a/tools/llvmc2/Makefile b/tools/llvmc2/Makefile index d0c1588e117..ab8ff478c90 100644 --- a/tools/llvmc2/Makefile +++ b/tools/llvmc2/Makefile @@ -25,7 +25,7 @@ endif # The degree of horrorshowness in that file is too much for me atm. $(ObjDir)/Tools.inc.tmp: $(TOOLS_SOURCE) $(ObjDir)/.dir $(Echo) "Building LLVMCC configuration library with tblgen" - $(Verb) $(TableGen) -gen-llvmcc -o $@ $< + $(Verb) $(TableGen) -gen-llvmcc -o $(call SYSPATH, $@) $< Tools.inc : $(ObjDir)/Tools.inc.tmp $(Verb) $(CMP) -s $@ $< || $(CP) $< $@