summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Chambart <chambart@users.noreply.github.com>2015-11-19 11:18:17 +0100
committerPierre Chambart <chambart@users.noreply.github.com>2015-11-19 11:18:17 +0100
commite69ccdb61a73747ee08f7250ab9f30dfc9e223a7 (patch)
tree7143618cd017dd81a642a5ce2eafa11e1ced2e04
parente896e9071a1cc8fa4e11112b61f5ce4a038ffa97 (diff)
downloadocaml-build-with-debugging-informations.tar.gz
Build the compiler with debugging informationsbuild-with-debugging-informations
-rwxr-xr-xMakefile.shared4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.shared b/Makefile.shared
index 5b4dd17bb1..6a45e22541 100755
--- a/Makefile.shared
+++ b/Makefile.shared
@@ -17,8 +17,8 @@ CAMLRUN ?= boot/ocamlrun
CAMLYACC ?= boot/ocamlyacc
include stdlib/StdlibModules
-CAMLC=$(CAMLRUN) boot/ocamlc -nostdlib -I boot
-CAMLOPT=$(CAMLRUN) ./ocamlopt -nostdlib -I stdlib -I otherlibs/dynlink
+CAMLC=$(CAMLRUN) boot/ocamlc -g -nostdlib -I boot
+CAMLOPT=$(CAMLRUN) ./ocamlopt -g -nostdlib -I stdlib -I otherlibs/dynlink
COMPFLAGS=-strict-sequence -w +33..39+48+50 -warn-error A -bin-annot \
-safe-string $(INCLUDES)
LINKFLAGS=