From: Bill Wendling Date: Wed, 15 Jun 2011 04:56:13 +0000 (+0000) Subject: Remove the LTO stuff from the profile_rt library's Makefile. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=31bfd9bc45b705d03df0c43d8ca8c7a0ecc126b3;p=oota-llvm.git Remove the LTO stuff from the profile_rt library's Makefile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133042 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile index fa0d69c5d47..cf31e46949b 100644 --- a/runtime/libprofile/Makefile +++ b/runtime/libprofile/Makefile @@ -23,17 +23,12 @@ include $(LEVEL)/Makefile.common ifeq ($(HOST_OS),Darwin) # Special hack to allow libprofile_rt to have an offset version number. - ifdef LLVM_LTO_VERSION_OFFSET - LTO_LIBRARY_VERSION := $(shell expr $(LLVM_SUBMIT_VERSION) + \ - $(LLVM_LTO_VERSION_OFFSET)) - else - LTO_LIBRARY_VERSION := $(LLVM_SUBMIT_VERSION) - endif + PROFILE_RT_LIBRARY_VERSION := $(LLVM_SUBMIT_VERSION) # Set dylib internal version number to llvmCore submission number. ifdef LLVM_SUBMIT_VERSION LLVMLibsOptions := $(LLVMLibsOptions) -Wl,-current_version \ - -Wl,$(LTO_LIBRARY_VERSION).$(LLVM_SUBMIT_SUBVERSION) \ + -Wl,$(PROFILE_RT_LIBRARY_VERSION).$(LLVM_SUBMIT_SUBVERSION) \ -Wl,-compatibility_version -Wl,1 endif # Extra options to override libtool defaults.