Skip to content

Commit 514bc7b

Browse files
authored
Merge pull request #4711 from chenglou/fix-brok
Fix broken ocaml build on macOS
2 parents 0867ac8 + 920ea53 commit 514bc7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/buildocaml.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function build(config) {
6464
if (config) {
6565
var { make } = require("./config.js");
6666
cp.execSync(
67-
"./configure -flambda -prefix " +
67+
"./configure -cc \"gcc -Wno-implicit-function-declaration\" -flambda -prefix " +
6868
prefix +
6969
` -no-ocamlbuild -no-curses -no-graph -no-pthread -no-debugger && ${make} clean`,
7070
{ cwd: ocamlSrcDir, stdio: [0, 1, 2] }

0 commit comments

Comments
 (0)