From: Bill Wendling Date: Mon, 8 Oct 2012 21:17:59 +0000 (+0000) Subject: Use a special path to place the .o files in. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09655fcc087a019309d3eecf237848542e419286;p=clang Use a special path to place the .o files in. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165429 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/libclang/Makefile b/tools/libclang/Makefile index 5fdfd0ebb5..38b8a0353f 100644 --- a/tools/libclang/Makefile +++ b/tools/libclang/Makefile @@ -55,7 +55,8 @@ ifeq ($(HOST_OS),Darwin) # 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