File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,10 @@ define dune_boot_context
20
20
(context (default
21
21
(name default)
22
22
; CR sdolan: profile dev might be faster, but the compiler currently fails to build in dev.
23
- (profile boot)))
23
+ (profile boot)
24
+ (env (_
25
+ (flags (:standard -warn-error +A))
26
+ (env-vars ("OCAMLPARAM" ""))))))
24
27
endef
25
28
26
29
define dune_runtime_stdlib_context
@@ -31,8 +34,9 @@ define dune_runtime_stdlib_context
31
34
(paths
32
35
(PATH ("$(CURDIR)/_build/_bootinstall/bin" :standard))
33
36
(OCAMLLIB ("$(CURDIR)/_build/_bootinstall/lib/ocaml")))
34
- (env (_ (env-vars
35
- ("OCAMLPARAM" "$(BUILD_OCAMLPARAM)"))))))
37
+ (env (_
38
+ (flags (:standard -warn-error +A))
39
+ (env-vars ("OCAMLPARAM" "$(BUILD_OCAMLPARAM)"))))))
36
40
endef
37
41
38
42
define dune_main_context
@@ -43,8 +47,9 @@ define dune_main_context
43
47
(paths
44
48
(PATH ("$(CURDIR)/_build/_bootinstall/bin" :standard))
45
49
(OCAMLLIB ("$(CURDIR)/_build/install/runtime_stdlib/lib/ocaml_runtime_stdlib")))
46
- (env (_ (env-vars
47
- ("OCAMLPARAM" "$(BUILD_OCAMLPARAM)"))))))
50
+ (env (_
51
+ (flags (:standard -warn-error +A))
52
+ (env-vars ("OCAMLPARAM" "$(BUILD_OCAMLPARAM)"))))))
48
53
endef
49
54
50
55
You can’t perform that action at this time.
0 commit comments