aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-02-23 18:10:07 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-02-23 18:10:07 +0000
commit42d27c79fbf5aa38229ab7f08658beea825be8e1 (patch)
tree3c6c8f110eb785834997bfe59326bc8022f68dfd /examples
parent923912cedf4cb6a97dc2bdde78b3bfdc9e0c2212 (diff)
downloadexternal_llvm-42d27c79fbf5aa38229ab7f08658beea825be8e1.zip
external_llvm-42d27c79fbf5aa38229ab7f08658beea825be8e1.tar.gz
external_llvm-42d27c79fbf5aa38229ab7f08658beea825be8e1.tar.bz2
Roll r96559 forward again, adding libLLVM-2.7svn.so to LLVM. This links 3 of
the examples shared to make sure the shared library keeps working. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/BrainF/Makefile3
-rw-r--r--examples/Fibonacci/Makefile3
-rw-r--r--examples/HowToUseJIT/Makefile3
3 files changed, 9 insertions, 0 deletions
diff --git a/examples/BrainF/Makefile b/examples/BrainF/Makefile
index 2c3e066..2e2cb6d 100644
--- a/examples/BrainF/Makefile
+++ b/examples/BrainF/Makefile
@@ -9,6 +9,9 @@
LEVEL = ../..
TOOLNAME = BrainF
EXAMPLE_TOOL = 1
+# To keep the shared library working, we link a few of the examples
+# against it unconditionally.
+ENABLE_SHARED = 1
LINK_COMPONENTS := jit bitwriter nativecodegen interpreter
diff --git a/examples/Fibonacci/Makefile b/examples/Fibonacci/Makefile
index 71f6ba0..d89119a 100644
--- a/examples/Fibonacci/Makefile
+++ b/examples/Fibonacci/Makefile
@@ -10,6 +10,9 @@
LEVEL = ../..
TOOLNAME = Fibonacci
EXAMPLE_TOOL = 1
+# To keep the shared library working, we link a few of the examples
+# against it unconditionally.
+ENABLE_SHARED = 1
# Link in JIT support
LINK_COMPONENTS := jit interpreter nativecodegen
diff --git a/examples/HowToUseJIT/Makefile b/examples/HowToUseJIT/Makefile
index c8919db..c61e9e1 100644
--- a/examples/HowToUseJIT/Makefile
+++ b/examples/HowToUseJIT/Makefile
@@ -9,6 +9,9 @@
LEVEL = ../..
TOOLNAME = HowToUseJIT
EXAMPLE_TOOL = 1
+# To keep the shared library working, we link a few of the examples
+# against it unconditionally.
+ENABLE_SHARED = 1
LINK_COMPONENTS := jit interpreter nativecodegen