Skip to content

Commit

Permalink
Remove the LTO stuff from the profile_rt library's Makefile.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133042 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
isanbard committed Jun 15, 2011
1 parent ae1920b commit 31bfd9b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions runtime/libprofile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 31bfd9b

Please sign in to comment.