From: Chris Lattner Date: Tue, 17 Jun 2003 17:53:35 +0000 (+0000) Subject: Make sure to get the value of ARCH before we use it X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d56243635513599923dc7d6b300f3d6101d85106;p=oota-llvm.git 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 --- diff --git a/lib/ExecutionEngine/Makefile b/lib/ExecutionEngine/Makefile index 7aab3057706..f710dc081a1 100644 --- a/lib/ExecutionEngine/Makefile +++ b/lib/ExecutionEngine/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 diff --git a/tools/lli/Makefile b/tools/lli/Makefile index 7aab3057706..f710dc081a1 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