[llvm] r221145 - [OCaml] Add -g on DEBUG_SYMBOLS=1, not ENABLE_OPTIMIZED.

Eric Christopher echristo at gmail.com
Mon Nov 3 10:26:55 PST 2014


Cool deal. Thanks!

-eric
On Mon Nov 03 2014 at 2:21:42 AM Peter Zotov <whitequark at whitequark.org>
wrote:

> Author: whitequark
> Date: Mon Nov  3 04:06:19 2014
> New Revision: 221145
>
> URL: http://llvm.org/viewvc/llvm-project?rev=221145&view=rev
> Log:
> [OCaml] Add -g on DEBUG_SYMBOLS=1, not ENABLE_OPTIMIZED.
>
> Thanks echristo for pointing this out.
>
> Modified:
>     llvm/trunk/bindings/ocaml/Makefile.ocaml
>
> Modified: llvm/trunk/bindings/ocaml/Makefile.ocaml
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/
> ocaml/Makefile.ocaml?rev=221145&r1=221144&r2=221145&view=diff
> ============================================================
> ==================
> --- llvm/trunk/bindings/ocaml/Makefile.ocaml (original)
> +++ llvm/trunk/bindings/ocaml/Makefile.ocaml Mon Nov  3 04:06:19 2014
> @@ -81,7 +81,7 @@ OCAMLAFLAGS += $(patsubst %,-cclib %, \
>  endif
>  endif
>
> -ifneq ($(ENABLE_OPTIMIZED),1)
> +ifneq ($(DEBUG_SYMBOLS),1)
>    OCAMLDEBUGFLAG := -g
>  endif
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141103/7972d9d0/attachment.html>


More information about the llvm-commits mailing list