summaryrefslogtreecommitdiff
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
commitea6c39d417172a8edb99667e93cd6b67cd024e6a (patch)
tree3c6c8f110eb785834997bfe59326bc8022f68dfd /examples
parente3d97c744772c075e11f372548cc8d848d555ee9 (diff)
downloadllvm-ea6c39d417172a8edb99667e93cd6b67cd024e6a.tar.gz
llvm-ea6c39d417172a8edb99667e93cd6b67cd024e6a.tar.bz2
llvm-ea6c39d417172a8edb99667e93cd6b67cd024e6a.tar.xz
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 2c3e066252..2e2cb6d1ae 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 71f6ba0ef5..d89119add7 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 c8919db90c..c61e9e12b8 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