summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-02-06 11:13:05 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-02-06 11:13:58 +0100
commit8b7649620e1d84afd033f0e598f6a4c7c798835b (patch)
tree61bd3862f2d05d7319745e600d7a2d10712d4a48
parent69559331d2848a1a6d4d67624f35f9bfa1c2ce58 (diff)
downloadperl_checker-8b7649620e1d84afd033f0e598f6a4c7c798835b.tar
perl_checker-8b7649620e1d84afd033f0e598f6a4c7c798835b.tar.gz
perl_checker-8b7649620e1d84afd033f0e598f6a4c7c798835b.tar.bz2
perl_checker-8b7649620e1d84afd033f0e598f6a4c7c798835b.tar.xz
perl_checker-8b7649620e1d84afd033f0e598f6a4c7c798835b.zip
fix compiling with ocaml-4.06
it'll need more work later
-rw-r--r--NEWS1
-rw-r--r--src/OCamlMakefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 78e4018..ce18c6f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- fake packages:
o add Gtk4 fake package
+- fix compiling with ocaml-4.06
- fix running tests with perl-5.26
Version 1.2.33 - 10 November 2016, by Thierry Vignaud
diff --git a/src/OCamlMakefile b/src/OCamlMakefile
index cc71121..ac2cd9c 100644
--- a/src/OCamlMakefile
+++ b/src/OCamlMakefile
@@ -142,13 +142,13 @@ NCRESULT := $(addsuffix $(NCSUFFIX), $(RESULT))
TOPRESULT := $(addsuffix $(TOPSUFFIX), $(RESULT))
ifndef OCAMLC
- OCAMLC := ocamlc -g
+ OCAMLC := ocamlc -g -unsafe-string
endif
export OCAMLC
ifndef OCAMLOPT
- OCAMLOPT := ocamlopt -g
+ OCAMLOPT := ocamlopt -g -unsafe-string
endif
export OCAMLOPT