X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=bindings%2Focaml%2FMakefile.ocaml;h=9466c2361ab6a2187af8494cbdba5eeabc18ad59;hp=6008c3a083121a1b232aad13c865bc4ebd26f4e9;hb=4e20a09b6fcf616f1a7bbe0dba4b5fa133b8a5e5;hpb=0e13821c96937830ec817f08095c3cef1fdcac8d;ds=sidebyside diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml index 6008c3a0831..9466c2361ab 100644 --- a/bindings/ocaml/Makefile.ocaml +++ b/bindings/ocaml/Makefile.ocaml @@ -42,9 +42,10 @@ OCAMLAFLAGS += $(patsubst %,-cclib %, \ $(shell $(LLVM_CONFIG) --ldflags)) \ $(UsedLibs)) -ifneq ($(ENABLE_OPTIMIZED),1) - OCAMLDEBUGFLAG := -g -endif +# -g was introduced in 3.10.0. +#ifneq ($(ENABLE_OPTIMIZED),1) +# OCAMLDEBUGFLAG := -g +#endif Compile.CMI := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) $(OCAMLDEBUGFLAG) -o) Compile.CMO := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) $(OCAMLDEBUGFLAG) -o)