From f8873ed9d8cebf3352bcefc1239acb3bb37cccc1 Mon Sep 17 00:00:00 2001
From: Misha Brukman <brukman+llvm@gmail.com>
Date: Mon, 7 Jul 2003 22:27:05 +0000
Subject: [PATCH] Removed an extra slash that appears in the path name when
 these variables are combined with a '/' separating them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7121 91177308-0d34-0410-b5e6-96231b3b80d8
---
 Makefile.common | 2 +-
 Makefile.rules  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.common b/Makefile.common
index 94db697e93e..907aa87dad9 100644
--- a/Makefile.common
+++ b/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/Makefile.rules b/Makefile.rules
index 94db697e93e..907aa87dad9 100644
--- a/Makefile.rules
+++ b/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