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

Thanks echristo for pointing this out.

llvm-svn: 221145
This commit is contained in:
Peter Zotov 2014-11-03 10:06:19 +00:00
parent aea393be26
commit 29ff48e122
1 changed files with 1 additions and 1 deletions

View File

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