From 56ff3f15e71cb0baad677b9d1d9f1038b26cf18d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 20 Jul 2010 20:33:59 +0000 Subject: this logic is handled by tools/makefile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108919 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/edis/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'tools/edis') diff --git a/tools/edis/Makefile b/tools/edis/Makefile index f28929f02d..ab65b2b835 100644 --- a/tools/edis/Makefile +++ b/tools/edis/Makefile @@ -9,6 +9,8 @@ LEVEL = ../.. LIBRARYNAME = EnhancedDisassembly +LINK_LIBS_IN_SHARED = 1 +SHARED_LIBRARY = 1 EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/EnhancedDisassembly.exports @@ -17,15 +19,6 @@ EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/EnhancedDisassembly.exports # early so we can set up LINK_COMPONENTS before including Makefile.rules include $(LEVEL)/Makefile.config -ifeq ($(ENABLE_PIC),1) - ifneq ($(DISABLE_EDIS),1) - ifneq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW)) - LINK_LIBS_IN_SHARED = 1 - SHARED_LIBRARY = 1 - endif - endif -endif - LINK_COMPONENTS := $(TARGETS_TO_BUILD) mcdisassembler x86asmprinter x86disassembler include $(LEVEL)/Makefile.common -- cgit v1.2.3