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

Peter Zotov whitequark at whitequark.org
Mon Nov 3 02:06:19 PST 2014


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
 





More information about the llvm-commits mailing list