Make sure to get the value of ARCH before we use it
[oota-llvm.git] / tools / lli / Makefile
index 7aab30577066f33ffbb0687c67db1d493d136a6d..f710dc081a1fa78d8d00e655b74e9d513201ce85 100644 (file)
@@ -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