From 52bcafe4bfaf27524bf6575ec397e918d13ec6ce Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Tue, 9 Oct 2012 23:59:01 +0000 Subject: Revert "Use a special path to place the .o files in." This reverts commit 165428 in an attempt to get our buildbots going. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165574 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 3 +-- runtime/libprofile/Makefile | 3 +-- tools/lto/Makefile | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile.rules b/Makefile.rules index ddf4d33d2f..a52bb8029d 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -645,8 +645,7 @@ else LD.Flags += $(RPATH) -Wl,@executable_path/../lib endif ifeq ($(RC_BUILDIT),YES) - ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs) - TempFile := $(shell mktemp ${ObjDir}/llvm-lto.XXXXXX) + TempFile := $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX) LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile) endif endif diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile index e9b220cf2f..1ea0895338 100644 --- a/runtime/libprofile/Makefile +++ b/runtime/libprofile/Makefile @@ -51,8 +51,7 @@ ifeq ($(HOST_OS),Darwin) # If we're doing an Apple-style build, add the LTO object path. ifeq ($(RC_BUILDIT),YES) - ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs) - TempFile := $(shell mktemp ${ObjDir}/profile_rt-lto.XXXXXX) + TempFile = $(shell mktemp ${OBJROOT}/profile_rt-lto.XXXXXX) LLVMLibsOptions := $(LLVMLibsOptions) \ -Wl,-object_path_lto -Wl,$(TempFile) endif diff --git a/tools/lto/Makefile b/tools/lto/Makefile index 4a468dedf5..3e7621f6db 100644 --- a/tools/lto/Makefile +++ b/tools/lto/Makefile @@ -52,8 +52,7 @@ ifeq ($(HOST_OS),Darwin) # If we're doing an Apple-style build, add the LTO object path. ifeq ($(RC_BUILDIT),YES) - ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs) - TempFile := $(shell mktemp ${ObjDir}/llvm-lto.XXXXXX) + TempFile = $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX) LLVMLibsOptions := $(LLVMLibsOptions) \ -Wl,-object_path_lto -Wl,$(TempFile) endif -- cgit v1.2.3