@@ -66,7 +66,7 @@ boot-compiler: _build/_bootinstall
66
66
RUNTIME_DIR=$(RUNTIME_DIR) $(dune) build $(ws_boot) $(coverage_dune_flags) $(boot_targets)
67
67
68
68
boot-runtest: boot-compiler
69
- $(dune) runtest $(ws_boot) $(coverage_dune_flags) --force
69
+ RUNTIME_DIR=$(RUNTIME_DIR) $(dune) runtest $(ws_boot) $(coverage_dune_flags) --force
70
70
71
71
runtime-stdlib: boot-compiler
72
72
RUNTIME_DIR=$(RUNTIME_DIR) $(dune) build $(ws_runstd) --only-package=ocaml_runtime_stdlib @install
@@ -79,7 +79,7 @@ compiler: runtime-stdlib
79
79
$(ocamldir)/tools/dumpobj.bc
80
80
81
81
runtest: compiler
82
- $(dune) runtest $(ws_main)
82
+ RUNTIME_DIR=$(RUNTIME_DIR) $(dune) runtest $(ws_main)
83
83
84
84
85
85
# This Makefile supports old versions that don't have $(file), so we're using
@@ -376,7 +376,7 @@ hacking: _build/_bootinstall
376
376
377
377
.PHONY: hacking-emacs-poller
378
378
hacking-emacs-poller: _build/_bootinstall
379
- $(dune) build $(ws_boot) --passive-watch-mode
379
+ RUNTIME_DIR=$(RUNTIME_DIR) $(dune) build $(ws_boot) --passive-watch-mode
380
380
381
381
.PHONY: hacking-emacs-builder
382
382
hacking-emacs-builder: _build/_bootinstall
@@ -385,7 +385,7 @@ hacking-emacs-builder: _build/_bootinstall
385
385
386
386
.PHONY: debug-printers
387
387
debug-printers: runtime-stdlib # required for $(ws_main) to work
388
- $(dune) build $(ws_main) $(ocamldir)/tools/debug_printers
388
+ RUNTIME_DIR=$(RUNTIME_DIR) $(dune) build $(ws_main) $(ocamldir)/tools/debug_printers
389
389
@echo
390
390
@echo To load into ocamldebug, use:
391
391
@echo source \"$$(realpath _build/main/$(ocamldir)/tools/debug_printers)\"
0 commit comments