diff options
| author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-03-14 14:42:51 +0000 |
|---|---|---|
| committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-03-14 14:42:51 +0000 |
| commit | 6c2d55922f8a47a4a287cc11e39bd8b35ac8b242 (patch) | |
| tree | 9fe618ed4a6b01d1dd71103590a6f66c2c689831 | |
| parent | 51e037e3c48a2e7ed8c267281a3022cce977afdd (diff) | |
| download | bcm5719-llvm-6c2d55922f8a47a4a287cc11e39bd8b35ac8b242.tar.gz bcm5719-llvm-6c2d55922f8a47a4a287cc11e39bd8b35ac8b242.zip | |
Fix Clang build for srcdir != objdir
llvm-svn: 67008
| -rw-r--r-- | llvm/Makefile.rules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index 948b88099f3..351a3450601 100644 --- a/llvm/Makefile.rules +++ b/llvm/Makefile.rules @@ -1478,10 +1478,10 @@ endif # LLVMC_BUILD_AUTOGENERATED_INC ifdef CLANG_BUILD_DIAGNOSTICS_INC -$(ObjDir)/Diagnostic%Kinds.inc.tmp : Diagnostic%Kinds.td Diagnostic.td $(TBLGEN) - $(Echo) "Building Clang $(<F) diagnostic tables with tblgen" +$(ObjDir)/Diagnostic%Kinds.inc.tmp : Diagnostic.td Diagnostic%Kinds.td $(TBLGEN) + $(Echo) "Building Clang $(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) diagnostic tables with tblgen" $(Verb) $(MKDIR) $(@D) - $(Verb) $(TableGen) -gen-clang-diags-defs -clang-component=$(patsubst Diagnostic%Kinds.td,%,$(<F)) -o $(call SYSPATH, $@) Diagnostic.td + $(Verb) $(TableGen) -gen-clang-diags-defs -clang-component=$(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) -o $(call SYSPATH, $@) $< endif |

