From 4e20a09b6fcf616f1a7bbe0dba4b5fa133b8a5e5 Mon Sep 17 00:00:00 2001 From: Gordon Henriksen Date: Tue, 25 Dec 2007 08:37:43 +0000 Subject: Disabling -g for ocaml builds; it's not downwards compatible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45352 91177308-0d34-0410-b5e6-96231b3b80d8 --- bindings/ocaml/Makefile.ocaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bindings') diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml index 6008c3a..9466c23 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) -- cgit v1.1