From 260d1b1b773a8eb2501723f677f5ef75329b64ae Mon Sep 17 00:00:00 2001 From: Peter Zotov Date: Mon, 3 Nov 2014 10:06:19 +0000 Subject: [PATCH] [OCaml] Add -g on DEBUG_SYMBOLS=1, not ENABLE_OPTIMIZED. Thanks echristo for pointing this out. llvm-svn: 221145 --- bindings/ocaml/Makefile.ocaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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