summaryrefslogtreecommitdiff
path: root/bindings/ocaml
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2014-11-03 10:06:19 +0000
committerPeter Zotov <whitequark@whitequark.org>2014-11-03 10:06:19 +0000
commit099e59a6c1ef06c78b32173f2083f4fddcb329f4 (patch)
tree476eb991a8bef4b5a3353314de58f5a2f97ec170 /bindings/ocaml
parenta8ea2c9bd77879c3c2083222294c1422e1e4fbfd (diff)
[OCaml] Add -g on DEBUG_SYMBOLS=1, not ENABLE_OPTIMIZED.
Thanks echristo for pointing this out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221145 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/ocaml')
-rw-r--r--bindings/ocaml/Makefile.ocaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml
index 26f82fa47f7..5e00cf59c4c 100644
--- a/bindings/ocaml/Makefile.ocaml
+++ b/bindings/ocaml/Makefile.ocaml
@@ -81,7 +81,7 @@ OCAMLAFLAGS += $(patsubst %,-cclib %, \
endif
endif
-ifneq ($(ENABLE_OPTIMIZED),1)
+ifneq ($(DEBUG_SYMBOLS),1)
OCAMLDEBUGFLAG := -g
endif