[llvm-commits] [llvm] r133042 - /llvm/trunk/runtime/libprofile/Makefile

Bill Wendling isanbard at gmail.com
Tue Jun 14 21:56:13 PDT 2011


Author: void
Date: Tue Jun 14 23:56:13 2011
New Revision: 133042

URL: http://llvm.org/viewvc/llvm-project?rev=133042&view=rev
Log:
Remove the LTO stuff from the profile_rt library's Makefile.

Modified:
    llvm/trunk/runtime/libprofile/Makefile

Modified: llvm/trunk/runtime/libprofile/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/runtime/libprofile/Makefile?rev=133042&r1=133041&r2=133042&view=diff
==============================================================================
--- llvm/trunk/runtime/libprofile/Makefile (original)
+++ llvm/trunk/runtime/libprofile/Makefile Tue Jun 14 23:56:13 2011
@@ -23,17 +23,12 @@
 
 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.





More information about the llvm-commits mailing list