Skip to content

Commit 26004b9

Browse files
committed
strict flags for single file too -- notably to ensure inlining semantics under flambda
1 parent f9f0df2 commit 26004b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/ninjaFactory.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ build ../${process.platform}/bsb_helper$ext: cc $INCL/bsb_helper.mli $INCL/bsb_
2828
flags = $flags -unboxed-types -w -a
2929
build ../${process.platform}/refmt$ext: cc $INCL/refmt_main3.mli $INCL/refmt_main3.ml
3030
flags = $flags -w -40-30 -no-alias-deps -I +compiler-libs ocamlcommon.cmxa
31-
build ../${process.platform}/bsc$ext: cc $INCL/whole_compiler.mli $INCL/whole_compiler.ml
31+
build ../${process.platform}/bsc$ext: cc $INCL/whole_compiler.mli $INCL/whole_compiler.ml
32+
flags = $flags -w A-4-9-48-40-45-41-44-50-21-30-32-34-37-27-60 -warn-error A
3233
`;
3334
}
3435

0 commit comments

Comments
 (0)