@@ -6,27 +6,27 @@ ifndef EXE
66endif
77NATIVE =ocamlopt.opt$(EXE )
88
9- OCAMLOPT_FLAGS = -inline 1000 -w -a ../stubs/ext_basic_hash_stubs.c
9+ OCAMLOPT_FLAGS = -g - inline 1000 -w -a ../stubs/ext_basic_hash_stubs.c
1010
1111bsppx.exe : config_bsppx.mli config_bsppx.ml bsppx.mli bsppx.ml
12- $(NATIVE ) -g -inline 1000 -linkall -w -a $^ -o $@
12+ $(NATIVE ) $( OCAMLOPT_FLAGS ) $^ -o $@
1313
1414bspp.exe : bspp.mli bspp.ml
15- $(NATIVE ) -g -inline 1000 -linkall -w -a $^ -o $@
15+ $(NATIVE ) $( OCAMLOPT_FLAGS ) $^ -o $@
1616
1717bsdep.exe : config_bsdep.mli config_bsdep.ml bsdep.mli bsdep.ml
18- $(NATIVE ) -g -inline 1000 -linkall -w -a $^ -o $@
18+ $(NATIVE ) $( OCAMLOPT_FLAGS ) $^ -o $@
1919
2020bsb.exe : bsb.mli bsb.ml
21- $(NATIVE ) -g -inline 1000 -linkall unix.cmxa str.cmxa -w -a $^ -o $@
21+ $(NATIVE ) $( OCAMLOPT_FLAGS ) unix.cmxa str.cmxa $^ -o $@
2222
2323bsb_helper.exe : bsb_helper.mli bsb_helper.ml
24- $(NATIVE ) -g -inline 1000 -linkall unix.cmxa str.cmxa -w -a $^ -o $@
24+ $(NATIVE ) $( OCAMLOPT_FLAGS ) unix.cmxa str.cmxa -w -a $^ -o $@
2525
2626config_whole_compiler.ml :config_whole_compiler.mlp ../config.js
2727 node ../config.js
2828bsc.exe : config_whole_compiler.mli config_whole_compiler.ml whole_compiler.mli whole_compiler.ml
29- $(NATIVE ) -w -a ../stubs/ext_basic_hash_stubs.c $^ -o $@
29+ $(NATIVE ) $( OCAMLOPT_FLAGS ) $^ -o $@
3030
3131bspack.exe : config_bspack.mli config_bspack.ml bspack.mli bspack.ml
3232 $(NATIVE ) $(OCAMLOPT_FLAGS ) unix.cmxa $^ -o $@
0 commit comments