Skip to content

Commit 8588c2e

Browse files
committed
fix bin/Makefile
1 parent 8ac365b commit 8588c2e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

jscomp/bin/Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ ifndef EXE
66
endif
77
NATIVE=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

1111
bsppx.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

1414
bspp.exe: bspp.mli bspp.ml
15-
$(NATIVE) -g -inline 1000 -linkall -w -a $^ -o $@
15+
$(NATIVE) $(OCAMLOPT_FLAGS) $^ -o $@
1616

1717
bsdep.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

2020
bsb.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

2323
bsb_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

2626
config_whole_compiler.ml:config_whole_compiler.mlp ../config.js
2727
node ../config.js
2828
bsc.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

3131
bspack.exe: config_bspack.mli config_bspack.ml bspack.mli bspack.ml
3232
$(NATIVE) $(OCAMLOPT_FLAGS) unix.cmxa $^ -o $@

jscomp/bin/bsb.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5282,7 +5282,7 @@ end = struct
52825282

52835283
# 27
52845284
type elt = string
5285-
let compare_elt = Ext_string.compare
5285+
let compare_elt = Ext_string.compare
52865286
type t = elt Set_gen.t
52875287

52885288

jscomp/ext/string_set.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
# 27
2828
type elt = string
29-
let compare_elt = Ext_string.compare
29+
let compare_elt = Ext_string.compare
3030
type t = elt Set_gen.t
3131

3232

0 commit comments

Comments
 (0)