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