Cool deal. Thanks!<br><br>-eric<br><div class="gmail_quote">On Mon Nov 03 2014 at 2:21:42 AM Peter Zotov <<a href="mailto:whitequark@whitequark.org">whitequark@whitequark.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: whitequark<br>
Date: Mon Nov  3 04:06:19 2014<br>
New Revision: 221145<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=221145&view=rev" target="_blank">http://llvm.org/viewvc/llvm-<u></u>project?rev=221145&view=rev</a><br>
Log:<br>
[OCaml] Add -g on DEBUG_SYMBOLS=1, not ENABLE_OPTIMIZED.<br>
<br>
Thanks echristo for pointing this out.<br>
<br>
Modified:<br>
    llvm/trunk/bindings/ocaml/<u></u>Makefile.ocaml<br>
<br>
Modified: llvm/trunk/bindings/ocaml/<u></u>Makefile.ocaml<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/ocaml/Makefile.ocaml?rev=221145&r1=221144&r2=221145&view=diff" target="_blank">http://llvm.org/viewvc/llvm-<u></u>project/llvm/trunk/bindings/<u></u>ocaml/Makefile.ocaml?rev=<u></u>221145&r1=221144&r2=221145&<u></u>view=diff</a><br>
==============================<u></u>==============================<u></u>==================<br>
--- llvm/trunk/bindings/ocaml/<u></u>Makefile.ocaml (original)<br>
+++ llvm/trunk/bindings/ocaml/<u></u>Makefile.ocaml Mon Nov  3 04:06:19 2014<br>
@@ -81,7 +81,7 @@ OCAMLAFLAGS += $(patsubst %,-cclib %, \<br>
 endif<br>
 endif<br>
<br>
-ifneq ($(ENABLE_OPTIMIZED),1)<br>
+ifneq ($(DEBUG_SYMBOLS),1)<br>
   OCAMLDEBUGFLAG := -g<br>
 endif<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvm-commits</a><br>
</blockquote></div>