diff options
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index cfa2f0cd87..6658edce04 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -1466,7 +1466,8 @@ endif # TARGET ifdef LLVMC_BUILD_AUTOGENERATED_INC -LLVMCPluginSrc := $(strip $(wildcard $(PROJ_SRC_DIR)/*.td)) +LLVMCPluginSrc := $(sort $(strip $(wildcard $(PROJ_SRC_DIR)/*.td)) \ + $(strip $(wildcard $(PROJ_OBJ_DIR)/*.td))) TDFiles := $(LLVMCPluginSrc) \ $(strip $(wildcard $(LLVM_SRC_ROOT)/include/llvm/CompilerDriver/*.td)) |