summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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