summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile4
-rw-r--r--tools/ocamlcp.ml1
-rw-r--r--tools/ocamloptp.ml1
3 files changed, 4 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index f640d7fd57..92d9e99e78 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -133,8 +133,8 @@ CSLPROF_IMPORTS=misc.cmo config.cmo identifiable.cmo numbers.cmo \
$(call byte_and_opt,ocamlprof,$(CSLPROF_IMPORTS) profiling.cmo $(CSLPROF),)
-ocamlcp_cmos = misc.cmo warnings.cmo config.cmo identifiable.cmo numbers.cmo \
- arg_helper.cmo clflags.cmo main_args.cmo
+ocamlcp_cmos = misc.cmo profile.cmo warnings.cmo config.cmo identifiable.cmo \
+ numbers.cmo arg_helper.cmo clflags.cmo main_args.cmo
$(call byte_and_opt,ocamlcp,$(ocamlcp_cmos) ocamlcp.cmo,)
$(call byte_and_opt,ocamloptp,$(ocamlcp_cmos) ocamloptp.cmo,)
diff --git a/tools/ocamlcp.ml b/tools/ocamlcp.ml
index 278952f75e..0aeaf2ce1b 100644
--- a/tools/ocamlcp.ml
+++ b/tools/ocamlcp.ml
@@ -126,6 +126,7 @@ module Options = Main_args.Make_bytecomp_options (struct
let _dflambda = option "-dflambda"
let _dinstr = option "-dinstr"
let _dtimings = option "-dtimings"
+ let _dprofile = option "-dprofile"
let _args = Arg.read_arg
let _args0 = Arg.read_arg0
let anonymous = process_file
diff --git a/tools/ocamloptp.ml b/tools/ocamloptp.ml
index 895031931a..1253f89edc 100644
--- a/tools/ocamloptp.ml
+++ b/tools/ocamloptp.ml
@@ -174,6 +174,7 @@ module Options = Main_args.Make_optcomp_options (struct
let _dstartup = option "-dstartup"
let _dinterval = option "-dinterval"
let _dtimings = option "-dtimings"
+ let _dprofile = option "-dprofile"
let _opaque = option "-opaque"
let _args = Arg.read_arg