aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2010-04-02 08:54:30 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2010-04-02 08:54:30 +0000
commit104bd8179fb5f6551c65c94ebcd0a4918b060189 (patch)
treecf5763d092b81cecc168fa28032247ee495d06e2 /examples
parent2f12f10af369d468b14617276446166383d692ed (diff)
Notes
Diffstat (limited to 'examples')
-rw-r--r--examples/OCaml-Kaleidoscope/Chapter6/myocamlbuild.ml2
-rw-r--r--examples/OCaml-Kaleidoscope/Chapter7/myocamlbuild.ml2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/OCaml-Kaleidoscope/Chapter6/myocamlbuild.ml b/examples/OCaml-Kaleidoscope/Chapter6/myocamlbuild.ml
index ff42664c43ba3..54d3fd977095b 100644
--- a/examples/OCaml-Kaleidoscope/Chapter6/myocamlbuild.ml
+++ b/examples/OCaml-Kaleidoscope/Chapter6/myocamlbuild.ml
@@ -6,5 +6,5 @@ ocaml_lib ~extern:true "llvm_executionengine";;
ocaml_lib ~extern:true "llvm_target";;
ocaml_lib ~extern:true "llvm_scalar_opts";;
-flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
+flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"; A"-cclib"; A"-rdynamic"]);;
dep ["link"; "ocaml"; "use_bindings"] ["bindings.o"];;
diff --git a/examples/OCaml-Kaleidoscope/Chapter7/myocamlbuild.ml b/examples/OCaml-Kaleidoscope/Chapter7/myocamlbuild.ml
index ff42664c43ba3..54d3fd977095b 100644
--- a/examples/OCaml-Kaleidoscope/Chapter7/myocamlbuild.ml
+++ b/examples/OCaml-Kaleidoscope/Chapter7/myocamlbuild.ml
@@ -6,5 +6,5 @@ ocaml_lib ~extern:true "llvm_executionengine";;
ocaml_lib ~extern:true "llvm_target";;
ocaml_lib ~extern:true "llvm_scalar_opts";;
-flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
+flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"; A"-cclib"; A"-rdynamic"]);;
dep ["link"; "ocaml"; "use_bindings"] ["bindings.o"];;