From b259c01376b176f17fccf57bff28148590f7d744 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 31 Jul 2010 21:32:56 +0000 Subject: build: Don't pass -avoid-version or -no-undefined on Darwin, they don't do anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109957 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/lto/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools/lto/Makefile') diff --git a/tools/lto/Makefile b/tools/lto/Makefile index f3fb79e682..e157a4c48a 100644 --- a/tools/lto/Makefile +++ b/tools/lto/Makefile @@ -41,7 +41,6 @@ ifeq ($(HOST_OS),Darwin) endif # extra options to override libtool defaults LLVMLibsOptions := $(LLVMLibsOptions) \ - -avoid-version \ -Wl,-dead_strip \ -Wl,-seg1addr -Wl,0xE0000000 @@ -49,7 +48,7 @@ ifeq ($(HOST_OS),Darwin) DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/') ifneq ($(DARWIN_VERS),8) LLVMLibsOptions := $(LLVMLibsOptions) \ - -no-undefined -Wl,-install_name \ + -Wl,-install_name \ -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)" endif endif -- cgit v1.2.3