OSDN Git Service

Fix the Cygwin/Mingw-On-Cygwin build. Patch by Alain Frisch!
authorAnton Korobeynikov <asl@math.spbu.ru>
Tue, 25 Mar 2008 18:53:36 +0000 (18:53 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Tue, 25 Mar 2008 18:53:36 +0000 (18:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48786 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvmc2/Makefile

index d0c1588..ab8ff47 100644 (file)
@@ -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) $< $@