Remove some broken code to check the DISABLE_EDIS flag (edis is now in the
[oota-llvm.git] / tools / edis / Makefile
index 9151f627bb0ccb7766649489138569f3f7a7792c..0d2e26f23387240f73260a76abc3a0c7888eddd6 100644 (file)
@@ -20,10 +20,12 @@ EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/EnhancedDisassembly.exports
 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) x86asmprinter x86disassembler