X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=runtime%2Flibprofile%2FMakefile;h=44ea204bcf560bad314e2b8c8873701b41d678d1;hb=ee740ddf9d8248e39032567dc22766b0f8b45cd6;hp=6e9225382a9e724f041b4ebfbbcda548117dd1da;hpb=ecb8c2ba6029f02b01b20b110cc1b3b3ea2e1f1c;p=oota-llvm.git diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile index 6e9225382a9..44ea204bcf5 100644 --- a/runtime/libprofile/Makefile +++ b/runtime/libprofile/Makefile @@ -50,7 +50,7 @@ ifeq ($(HOST_OS),Darwin) endif # If we're doing an Apple-style build, add the LTO object path. - ifeq ($(RC_BUILDIT),YES) + ifeq ($(RC_XBS),YES) TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/profile_rt-lto.XXXXXX) LLVMLibsOptions := $(LLVMLibsOptions) \ -Wl,-object_path_lto -Wl,$(TempFile)