diff options
Diffstat (limited to 'tools/lto/Makefile')
-rw-r--r-- | tools/lto/Makefile | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/tools/lto/Makefile b/tools/lto/Makefile index cedbee1..a4fe9ac 100644 --- a/tools/lto/Makefile +++ b/tools/lto/Makefile @@ -9,8 +9,7 @@ LEVEL := ../.. LIBRARYNAME := LTO -LINK_COMPONENTS := all-targets ipo scalaropts linker bitreader bitwriter \ - lto mcdisassembler vectorize +LINK_COMPONENTS := all-targets core lto mc mcdisassembler support LINK_LIBS_IN_SHARED := 1 SHARED_LIBRARY := 1 @@ -37,17 +36,6 @@ ifeq ($(HOST_OS),Darwin) -Wl,$(LTO_LIBRARY_VERSION).$(LLVM_SUBMIT_SUBVERSION) \ -Wl,-compatibility_version -Wl,1 endif - # extra options to override libtool defaults - LLVMLibsOptions := $(LLVMLibsOptions) \ - -Wl,-dead_strip - - # Mac OS X 10.4 and earlier tools do not allow a second -install_name on command line - DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/') - ifneq ($(DARWIN_VERS),8) - LLVMLibsOptions := $(LLVMLibsOptions) \ - -Wl,-install_name \ - -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)" - endif # If we're doing an Apple-style build, add the LTO object path. ifeq ($(RC_XBS),YES) |