ocamlsdl: pass -unsafe-string in OMLFLAGS and MLFLAGS (#20253)
so that the build doesn't fail with OCaml 4.06.0
This commit is contained in:
parent
c5a8b06a5e
commit
3ae9262b4d
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ class Ocamlsdl < Formula
|
|||
def install
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"OCAMLLIB=#{lib}/ocaml"
|
||||
system "make"
|
||||
system "make", "OMLFLAGS = -unsafe -unsafe-string",
|
||||
"MLFLAGS=-g -unsafe-string"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue