From 31bfd9bc45b705d03df0c43d8ca8c7a0ecc126b3 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 15 Jun 2011 04:56:13 +0000 Subject: 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 --- runtime/libprofile/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'runtime') diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile index fa0d69c..cf31e46 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. -- cgit v1.1