diff --git a/llvm/Makefile.common b/llvm/Makefile.common index 94db697e93e2..907aa87dad9c 100644 --- a/llvm/Makefile.common +++ b/llvm/Makefile.common @@ -89,7 +89,7 @@ endif # Determine the path of the source tree relative from $HOME (the mythical # home directory). # -HOME_OBJ_ROOT := $(OBJ_ROOT)/$(patsubst $(HOME)%,%,$(BUILD_SRC_ROOT)) +HOME_OBJ_ROOT := $(OBJ_ROOT)$(patsubst $(HOME)%,%,$(BUILD_SRC_ROOT)) # # Set the object build directory. Its location depends upon the source path diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index 94db697e93e2..907aa87dad9c 100644 --- a/llvm/Makefile.rules +++ b/llvm/Makefile.rules @@ -89,7 +89,7 @@ endif # Determine the path of the source tree relative from $HOME (the mythical # home directory). # -HOME_OBJ_ROOT := $(OBJ_ROOT)/$(patsubst $(HOME)%,%,$(BUILD_SRC_ROOT)) +HOME_OBJ_ROOT := $(OBJ_ROOT)$(patsubst $(HOME)%,%,$(BUILD_SRC_ROOT)) # # Set the object build directory. Its location depends upon the source path