Skip to content

Commit a7c8bbd

Browse files
committed
use -linscan for faster compilation
add more warnings
1 parent f67cba8 commit a7c8bbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ninja.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,7 @@ function nativeNinja() {
16091609
var templateNative = `
16101610
subninja ${getPreprocessorFileName()}
16111611
rule optc
1612-
command = $ocamlopt -safe-string -I +compiler-libs -opaque ${includes} -g -w a-50+6-40-30-23 -warn-error A -absname -c $in
1612+
command = $ocamlopt -safe-string -I +compiler-libs -opaque ${includes} -g -linscan -w A-4-9-27-29-40..42-48-50+6-40-30-23 -warn-error A-44-45-48 -absname -c $in
16131613
description = $out : $in
16141614
rule archive
16151615
command = $ocamlopt -a $in -o $out

0 commit comments

Comments
 (0)