summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 8205568c2f..c2b12e7211 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -36,6 +36,8 @@ include $(LEVEL)/Makefile.config
ifeq ($(ENABLE_PIC),1)
# No support for dynamic libraries on windows targets.
ifneq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW))
+ # libEnhancedDisassembly must be built ahead of llvm-mc
+ # because llvm-mc links against libEnhancedDisassembly
DIRS += edis
# gold only builds if binutils is around. It requires "lto" to build before