Index: tools/llvmc2/Makefile
===================================================================
--- tools/llvmc2/Makefile	(revision 48776)
+++ tools/llvmc2/Makefile	(working copy)
@@ -25,7 +25,7 @@
 # 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) $< $@
