aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/ocaml
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-12-25 08:37:43 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-12-25 08:37:43 +0000
commit119f5307ecd0c217732a36fa0fcdbf5bc6c6d67c (patch)
treed0a653be9f0cd6261ad865443e006d19ab593fe0 /bindings/ocaml
parenta86e919b14164439c297c5c98e055f8cc0b9e84c (diff)
downloadexternal_llvm-119f5307ecd0c217732a36fa0fcdbf5bc6c6d67c.zip
external_llvm-119f5307ecd0c217732a36fa0fcdbf5bc6c6d67c.tar.gz
external_llvm-119f5307ecd0c217732a36fa0fcdbf5bc6c6d67c.tar.bz2
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
Diffstat (limited to 'bindings/ocaml')
-rw-r--r--bindings/ocaml/Makefile.ocaml7
1 files changed, 4 insertions, 3 deletions
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)