Pass -g option to compiler and linker.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 28 Jul 2011 20:37:36 +0000 (21:37 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 28 Jul 2011 20:49:25 +0000 (21:49 +0100)
Makefile.am

index df6a721..f77a4b7 100644 (file)
@@ -117,7 +117,9 @@ OCAMLCFLAGS = \
        -thread \
        $(OCAMLPACKAGES) \
        -predicates threads
-OCAMLOPTFLAGS = $(OCAMLCFLAGS)
+OCAMLOPTFLAGS = \
+       -ccopt -g \
+       $(OCAMLCFLAGS)
 OCAMLDOCFLAGS = \
        $(OCAMLPACKAGES) \
        -predicates threads \