Remove the LTO stuff from the profile_rt library's Makefile.
authorBill Wendling <isanbard@gmail.com>
Wed, 15 Jun 2011 04:56:13 +0000 (04:56 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 15 Jun 2011 04:56:13 +0000 (04:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133042 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/libprofile/Makefile

index fa0d69c5d478f876f9362375938fee6b5fecba38..cf31e46949b150ce1a99301f9fb79b4b02b5a9d9 100644 (file)
@@ -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.