summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2014-10-28 06:15:41 +0000
committerPeter Zotov <whitequark@whitequark.org>2014-10-28 06:15:41 +0000
commit3ebd0bf24db1c9f3614e00c92e3b8afb804ad4ee (patch)
tree375a9a6277674d222918347160c01344b5795374 /llvm
parent110f62912b143cf85e6d9d13f9f2d6e5d9e91f23 (diff)
downloadbcm5719-llvm-3ebd0bf24db1c9f3614e00c92e3b8afb804ad4ee.tar.gz
bcm5719-llvm-3ebd0bf24db1c9f3614e00c92e3b8afb804ad4ee.zip
[OCaml] Enable -g for debug builds.
We don't care about pre-3.12.1 anymore. llvm-svn: 220767
Diffstat (limited to 'llvm')
-rw-r--r--llvm/bindings/ocaml/Makefile.ocaml7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/bindings/ocaml/Makefile.ocaml b/llvm/bindings/ocaml/Makefile.ocaml
index 78901b5de97..7b26caf6bb6 100644
--- a/llvm/bindings/ocaml/Makefile.ocaml
+++ b/llvm/bindings/ocaml/Makefile.ocaml
@@ -69,10 +69,9 @@ OCAMLAFLAGS += $(patsubst %,-cclib %, \
endif
endif
-# -g was introduced in 3.10.0.
-#ifneq ($(ENABLE_OPTIMIZED),1)
-# OCAMLDEBUGFLAG := -g
-#endif
+ifneq ($(ENABLE_OPTIMIZED),1)
+ OCAMLDEBUGFLAG := -g
+endif
Compile.CMI := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) $(OCAMLDEBUGFLAG) -o)
Compile.CMO := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) $(OCAMLDEBUGFLAG) -o)
OpenPOWER on IntegriCloud