summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2010-04-12 19:43:00 +0000
committerSean Callanan <scallanan@apple.com>2010-04-12 19:43:00 +0000
commit668b15467be158a5f0e0c4a5e1ec232da021892c (patch)
tree48d632e7bf9d67a14f6a967b8fb564b9b8306bdb /tools/Makefile
parentbb6e9d8cf7c5a51b2f66568accc489927f0d538e (diff)
downloadllvm-668b15467be158a5f0e0c4a5e1ec232da021892c.tar.gz
llvm-668b15467be158a5f0e0c4a5e1ec232da021892c.tar.bz2
llvm-668b15467be158a5f0e0c4a5e1ec232da021892c.tar.xz
Second try at integrating the edis tester. This
time I use the LIBS variable, which is not subject to a %.a -> -l% transformation, to link llvm-mc against libEnhancedDisassembly. llvm-mc -edis works the same as llvm-mc -disassemble, but outputs tokens and operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101058 91177308-0d34-0410-b5e6-96231b3b80d8
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