X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=bindings%2Focaml%2FMakefile.ocaml;h=7b26caf6bb633bb5cf97476593ba1f34434508e3;hp=78901b5de97e429eeebad5a7271af0346a6bff4f;hb=693bfa58d388fa7d8d185ab77f251c3ee0f44b02;hpb=d02697bfa2940f2441be82085f7d1c27a147d8ea diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml index 78901b5de97..7b26caf6bb6 100644 --- a/bindings/ocaml/Makefile.ocaml +++ b/bindings/ocaml/Makefile.ocaml @@ -69,10 +69,9 @@ OCAMLAFLAGS += $(patsubst %,-cclib %, \ endif endif -# -g was introduced in 3.10.0. -#ifneq ($(ENABLE_OPTIMIZED),1) -# OCAMLDEBUGFLAG := -g -#endif +ifneq ($(ENABLE_OPTIMIZED),1) + OCAMLDEBUGFLAG := -g +endif Compile.CMI := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) $(OCAMLDEBUGFLAG) -o) Compile.CMO := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) $(OCAMLDEBUGFLAG) -o)