diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-01-09 16:43:07 +0100 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2017-01-09 16:43:07 +0100 |
commit | 0bf85fbc04b448ede279842aec30659c9377969d (patch) | |
tree | 1cc5aff6f0f1ee355ffb50a7c49366f5c24c4071 | |
parent | 37817bb5ac6bb9fa9a4d67a5604a35424f7b343d (diff) |
Compile with debug information by default.
Addition of debug info can be prevented using -nodebug at configure
time.
-rw-r--r-- | configure.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ml b/configure.ml index f75bbb538..9c22c5237 100644 --- a/configure.ml +++ b/configure.ml @@ -261,7 +261,7 @@ module Prefs = struct let withdoc = ref false let geoproof = ref false let byteonly = ref false - let debug = ref false + let debug = ref true let profile = ref false let annotate = ref false let nativecompiler = ref (not (os_type_win32 || os_type_cygwin)) @@ -337,6 +337,8 @@ let args_options = Arg.align [ " Compiles only bytecode version of Coq"; "-debug", Arg.Set Prefs.debug, " Add debugging information in the Coq executables"; + "-nodebug", Arg.Clear Prefs.debug, + " Do not add debugging information in the Coq executables"; "-profile", Arg.Set Prefs.profile, " Add profiling information in the Coq executables"; "-annotate", Arg.Set Prefs.annotate, |