summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/edis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/tools/edis/Makefile')
-rw-r--r--contrib/llvm/tools/edis/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/llvm/tools/edis/Makefile b/contrib/llvm/tools/edis/Makefile
index 9151f62..0d2e26f 100644
--- a/contrib/llvm/tools/edis/Makefile
+++ b/contrib/llvm/tools/edis/Makefile
@@ -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
OpenPOWER on IntegriCloud