summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-06-15 04:56:13 +0000
committerBill Wendling <isanbard@gmail.com>2011-06-15 04:56:13 +0000
commit31bfd9bc45b705d03df0c43d8ca8c7a0ecc126b3 (patch)
tree63a5bbce32ca8fdc1f0c6d4200140a7bc4e36b76 /runtime
parentae1920b1efa72c1789d562df4746110d0c2e10bd (diff)
downloadexternal_llvm-31bfd9bc45b705d03df0c43d8ca8c7a0ecc126b3.zip
external_llvm-31bfd9bc45b705d03df0c43d8ca8c7a0ecc126b3.tar.gz
external_llvm-31bfd9bc45b705d03df0c43d8ca8c7a0ecc126b3.tar.bz2
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
Diffstat (limited to 'runtime')
-rw-r--r--runtime/libprofile/Makefile9
1 files changed, 2 insertions, 7 deletions
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.