aboutsummaryrefslogtreecommitdiff
path: root/Makefile.build
diff options
context:
space:
mode:
authorJason Gross2020-04-29 18:27:04 -0400
committerJason Gross2020-04-29 18:35:04 -0400
commit8bd559370f51d7cc1877380a5ad726da67ceb0fa (patch)
tree06153261c61b426088714931099f72ccf740aa93 /Makefile.build
parent5e611ecb1c38860ee5aaa0ccde1bb982ccc43ae4 (diff)
When TIMED=1, emit timing info for OCaml files
Diffstat (limited to 'Makefile.build')
-rw-r--r--Makefile.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.build b/Makefile.build
index b7a4dd655a..cf9141853d 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -249,8 +249,8 @@ MLINCLUDES=$(LOCALINCLUDES)
USERCONTRIBINCLUDES=$(addprefix -I user-contrib/,$(USERCONTRIBDIRS))
-OCAMLC := $(OCAMLFIND) ocamlc $(CAMLFLAGS)
-OCAMLOPT := $(OCAMLFIND) opt $(CAMLFLAGS)
+OCAMLC := $(TIMER) $(OCAMLFIND) ocamlc $(CAMLFLAGS)
+OCAMLOPT := $(TIMER) $(OCAMLFIND) opt $(CAMLFLAGS)
BYTEFLAGS=$(CAMLDEBUG) $(USERFLAGS)
OPTFLAGS=$(CAMLDEBUGOPT) $(CAMLTIMEPROF) $(USERFLAGS) $(FLAMBDA_FLAGS)