[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
This commit is contained in:
Peter Zotov 2014-11-03 10:06:19 +00:00
parent a8ea2c9bd7
commit 099e59a6c1

View File

@ -81,7 +81,7 @@ OCAMLAFLAGS += $(patsubst %,-cclib %, \
endif
endif
ifneq ($(ENABLE_OPTIMIZED),1)
ifneq ($(DEBUG_SYMBOLS),1)
OCAMLDEBUGFLAG := -g
endif