summaryrefslogtreecommitdiff
path: root/tools/lli/Makefile
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-17 17:53:35 +0000
committerChris Lattner <sabre@nondot.org>2003-06-17 17:53:35 +0000
commitd56243635513599923dc7d6b300f3d6101d85106 (patch)
treed303fb00bae4fe4da6498f3755baa40bb32e04c8 /tools/lli/Makefile
parent2bf4c615572c202bdc66f58812ddd328041ad615 (diff)
downloadllvm-d56243635513599923dc7d6b300f3d6101d85106.tar.gz
llvm-d56243635513599923dc7d6b300f3d6101d85106.tar.bz2
llvm-d56243635513599923dc7d6b300f3d6101d85106.tar.xz
Make sure to get the value of ARCH before we use it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6746 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli/Makefile')
-rw-r--r--tools/lli/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/lli/Makefile b/tools/lli/Makefile
index 7aab305770..f710dc081a 100644
--- a/tools/lli/Makefile
+++ b/tools/lli/Makefile
@@ -2,6 +2,9 @@ LEVEL = ../..
TOOLNAME = lli
PARALLEL_DIRS = Interpreter JIT
+# Get the config name...
+include $(LEVEL)/Makefile.config
+
# Generic JIT libraries
JITLIBS = lli-jit codegen
ARCHLIBS =
@@ -10,6 +13,8 @@ ARCHLIBS =
JITLIBS += x86
# X86 doesn't require any ARCHLIBS
+
+
# What the Sparc JIT requires
ifeq ($(ARCH),Sparc)
JITLIBS += sparc