summaryrefslogtreecommitdiff
path: root/tools/lto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lto/Makefile')
-rw-r--r--tools/lto/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/lto/Makefile b/tools/lto/Makefile
index ab2e16e5fab62..cedbee188c0e9 100644
--- a/tools/lto/Makefile
+++ b/tools/lto/Makefile
@@ -10,7 +10,7 @@
LEVEL := ../..
LIBRARYNAME := LTO
LINK_COMPONENTS := all-targets ipo scalaropts linker bitreader bitwriter \
- mcdisassembler vectorize
+ lto mcdisassembler vectorize
LINK_LIBS_IN_SHARED := 1
SHARED_LIBRARY := 1
@@ -39,8 +39,7 @@ ifeq ($(HOST_OS),Darwin)
endif
# extra options to override libtool defaults
LLVMLibsOptions := $(LLVMLibsOptions) \
- -Wl,-dead_strip \
- -Wl,-seg1addr -Wl,0xE0000000
+ -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/')