aboutsummaryrefslogtreecommitdiffstats
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
commit4e20a09b6fcf616f1a7bbe0dba4b5fa133b8a5e5 (patch)
treed0a653be9f0cd6261ad865443e006d19ab593fe0
parent0e13821c96937830ec817f08095c3cef1fdcac8d (diff)
downloadexternal_llvm-4e20a09b6fcf616f1a7bbe0dba4b5fa133b8a5e5.zip
external_llvm-4e20a09b6fcf616f1a7bbe0dba4b5fa133b8a5e5.tar.gz
external_llvm-4e20a09b6fcf616f1a7bbe0dba4b5fa133b8a5e5.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
-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)