mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
ocaml: Pass -annot flag to compiler.
This generates .annot files that contain type information. In emacs + tuareg mode, using C-c C-t displays the type of the underlying expression.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
*~
|
||||
*.a
|
||||
*.annot
|
||||
*.bak
|
||||
*.class
|
||||
*.cma
|
||||
|
||||
@@ -1096,7 +1096,7 @@ AM_CONDITIONAL([HAVE_OCAML_GETTEXT],
|
||||
dnl Flags we want to pass to every OCaml compiler call.
|
||||
OCAML_WARN_ERROR="-warn-error CDEFLMPSUVYZX-3"
|
||||
AC_SUBST([OCAML_WARN_ERROR])
|
||||
OCAML_FLAGS="-g"
|
||||
OCAML_FLAGS="-g -annot"
|
||||
AC_SUBST([OCAML_FLAGS])
|
||||
|
||||
dnl Check for Perl (optional, for Perl bindings and Perl tools).
|
||||
|
||||
Reference in New Issue
Block a user