summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit3ac46ccdff9a277d9a7ad8b3c2305f3cb5640441 (patch)
treec6e64ff54be95a36e277762a29553fab5ddb9f4e /llvm/examples
parentd2c0de6b4410f1b19423d7f7550413508a7db8b1 (diff)
downloadbcm5719-llvm-3ac46ccdff9a277d9a7ad8b3c2305f3cb5640441.tar.gz
bcm5719-llvm-3ac46ccdff9a277d9a7ad8b3c2305f3cb5640441.zip
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. llvm-svn: 96959
Diffstat (limited to 'llvm/examples')
-rw-r--r--llvm/examples/BrainF/Makefile3
-rw-r--r--llvm/examples/Fibonacci/Makefile3
-rw-r--r--llvm/examples/HowToUseJIT/Makefile3
3 files changed, 9 insertions, 0 deletions
diff --git a/llvm/examples/BrainF/Makefile b/llvm/examples/BrainF/Makefile
index 2c3e0662523..2e2cb6d1ae0 100644
--- a/llvm/examples/BrainF/Makefile
+++ b/llvm/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/llvm/examples/Fibonacci/Makefile b/llvm/examples/Fibonacci/Makefile
index 71f6ba0ef52..d89119add7b 100644
--- a/llvm/examples/Fibonacci/Makefile
+++ b/llvm/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/llvm/examples/HowToUseJIT/Makefile b/llvm/examples/HowToUseJIT/Makefile
index c8919db90cc..c61e9e12b85 100644
--- a/llvm/examples/HowToUseJIT/Makefile
+++ b/llvm/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
OpenPOWER on IntegriCloud