[llvm-commits] [llvm] r165428 - in /llvm/trunk: Makefile.rules runtime/libprofile/Makefile tools/lto/Makefile
Bill Wendling
isanbard at gmail.com
Mon Oct 8 14:17:46 PDT 2012
Author: void
Date: Mon Oct 8 16:17:45 2012
New Revision: 165428
URL: http://llvm.org/viewvc/llvm-project?rev=165428&view=rev
Log:
Use a special path to place the .o files in.
Modified:
llvm/trunk/Makefile.rules
llvm/trunk/runtime/libprofile/Makefile
llvm/trunk/tools/lto/Makefile
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=165428&r1=165427&r2=165428&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Mon Oct 8 16:17:45 2012
@@ -645,7 +645,8 @@
LD.Flags += $(RPATH) -Wl, at executable_path/../lib
endif
ifeq ($(RC_BUILDIT),YES)
- TempFile := $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX)
+ ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs)
+ TempFile := $(shell mktemp ${ObjDir}/llvm-lto.XXXXXX)
LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile)
endif
endif
Modified: llvm/trunk/runtime/libprofile/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/runtime/libprofile/Makefile?rev=165428&r1=165427&r2=165428&view=diff
==============================================================================
--- llvm/trunk/runtime/libprofile/Makefile (original)
+++ llvm/trunk/runtime/libprofile/Makefile Mon Oct 8 16:17:45 2012
@@ -51,7 +51,8 @@
# If we're doing an Apple-style build, add the LTO object path.
ifeq ($(RC_BUILDIT),YES)
- TempFile = $(shell mktemp ${OBJROOT}/profile_rt-lto.XXXXXX)
+ ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs)
+ TempFile := $(shell mktemp ${ObjDir}/profile_rt-lto.XXXXXX)
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-object_path_lto -Wl,$(TempFile)
endif
Modified: llvm/trunk/tools/lto/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/Makefile?rev=165428&r1=165427&r2=165428&view=diff
==============================================================================
--- llvm/trunk/tools/lto/Makefile (original)
+++ llvm/trunk/tools/lto/Makefile Mon Oct 8 16:17:45 2012
@@ -52,7 +52,8 @@
# If we're doing an Apple-style build, add the LTO object path.
ifeq ($(RC_BUILDIT),YES)
- TempFile = $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX)
+ ObjDir := $(shell mkdir -p ${OBJROOT}/dSYMs)
+ TempFile := $(shell mktemp ${ObjDir}/llvm-lto.XXXXXX)
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-object_path_lto -Wl,$(TempFile)
endif
More information about the llvm-commits
mailing list