mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Another dependency fix, prevent ObjDir from having trailing slash.
- It turns out this is enough to completely break dependency file (.d) usage (at least for my gmake). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57030 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -318,7 +318,14 @@ ifeq ($(LLVM_CROSS_COMPILING),1)
|
||||
endif
|
||||
|
||||
ObjRootDir := $(PROJ_OBJ_DIR)/$(BuildMode)
|
||||
ObjDir := $(ObjRootDir)/$(TargetMode)
|
||||
# It is very important that ObjDir not have an extra trailing
|
||||
# slash. This ends up changing the rules so that dependency file (.d)
|
||||
# information is not used at all!
|
||||
ifeq ($(TargetMode),)
|
||||
ObjDir := $(ObjRootDir)
|
||||
else
|
||||
ObjDir := $(ObjRootDir)/$(TargetMode)
|
||||
endif
|
||||
LibDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/$(TargetMode)/lib
|
||||
ToolDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/$(TargetMode)/bin
|
||||
ExmplDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/$(TargetMode)/examples
|
||||
|
||||
Reference in New Issue
Block a user