File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 18
18
BS_FLAGS = $(BS_COMMON_FLAGS ) -bs-package-output lib/js
19
19
endif
20
20
21
- COMPFLAGS += $(BS_FLAGS ) -I ../runtime -I ../stdlib -w -40 -w -49
21
+ COMPFLAGS += $(BS_FLAGS ) -I ../runtime -I ../stdlib -w -40 -w -49 -bin-annot
22
22
23
23
24
24
Original file line number Diff line number Diff line change 31
31
BS_FLAGS = $(BS_COMMON_FLAGS ) -bs-package-output lib/js
32
32
endif
33
33
34
- COMPFLAGS += $(BS_FLAGS ) -I ../stdlib -nostdlib -nopervasives -open Pervasives -unsafe -w -40-49
34
+ COMPFLAGS += $(BS_FLAGS ) -I ../stdlib -nostdlib -nopervasives -open Pervasives -unsafe -w -40-49 -bin-annot
35
35
36
36
37
37
$(RUNTIME ) : $(COMPILER )
Original file line number Diff line number Diff line change @@ -57,7 +57,9 @@ var map = {
57
57
var is_windows = ! ( os . type ( ) . indexOf ( 'Windows' ) < 0 )
58
58
59
59
process . env . BS_RELEASE_BUILD = 1
60
- process . env . OCAMLPARAM = '_,bin-annot=1'
60
+ delete process . env . OCAMLPARAM // stdlib is already compiled using -bin-annot
61
+ // delete process.env.OCAMLLIB // this will not work on Windows
62
+ // delete process.env.CAMLLIB
61
63
process . env . OCAMLRUNPARAM = 'b'
62
64
63
65
// return False if it does not exist otherwise the map
You can’t perform that action at this time.
0 commit comments