Enable -safe-string everywhere
Useful for testing on OCaml < 4.06.0
This commit is contained in:
parent
5ca193128c
commit
39d18c9541
|
@ -2,5 +2,6 @@
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
((name myutop)
|
((name myutop)
|
||||||
|
(flags (:standard -safe-string))
|
||||||
(link_flags (-linkall))
|
(link_flags (-linkall))
|
||||||
(libraries (utop))))
|
(libraries (utop))))
|
||||||
|
|
|
@ -2,5 +2,6 @@
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
((name test_program)
|
((name test_program)
|
||||||
|
(flags (:standard -safe-string))
|
||||||
(link_flags (-linkall))
|
(link_flags (-linkall))
|
||||||
(libraries (utop))))
|
(libraries (utop))))
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
((name uTop)
|
((name uTop)
|
||||||
(public_name utop)
|
(public_name utop)
|
||||||
(wrapped false)
|
(wrapped false)
|
||||||
|
(flags (:standard -safe-string))
|
||||||
(modes (byte))
|
(modes (byte))
|
||||||
(libraries (compiler-libs.toplevel findlib.top lambda-term threads))
|
(libraries (compiler-libs.toplevel findlib.top lambda-term threads))
|
||||||
(preprocess (action (run ${bin:cppo} -V OCAML:${ocaml_version} ${<})))))
|
(preprocess (action (run ${bin:cppo} -V OCAML:${ocaml_version} ${<})))))
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
((name expunge)
|
((name expunge)
|
||||||
|
(flags (:standard -safe-string))
|
||||||
(libraries (unix))))
|
(libraries (unix))))
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
(executables
|
(executables
|
||||||
((names (utop))
|
((names (utop))
|
||||||
(libraries (utop))
|
(libraries (utop))
|
||||||
|
(flags (:standard -safe-string))
|
||||||
(link_flags (-linkall))))
|
(link_flags (-linkall))))
|
||||||
|
|
||||||
(rule
|
(rule
|
||||||
|
|
Loading…
Reference in New Issue