summaryrefslogtreecommitdiffstats
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
commitf23d2a59c52b18bdf76fced36d517445a9c00069 (patch)
tree795afee4b558066caffa7401b70300a8b545665c
parentb969c5981b3bdf1ce96369522c396b77891653d5 (diff)
downloadbcm5719-llvm-f23d2a59c52b18bdf76fced36d517445a9c00069.tar.gz
bcm5719-llvm-f23d2a59c52b18bdf76fced36d517445a9c00069.zip
Disabling -g for ocaml builds; it's not downwards compatible.
llvm-svn: 45352
-rw-r--r--llvm/bindings/ocaml/Makefile.ocaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/bindings/ocaml/Makefile.ocaml b/llvm/bindings/ocaml/Makefile.ocaml
index 6008c3a0831..9466c2361ab 100644
--- a/llvm/bindings/ocaml/Makefile.ocaml
+++ b/llvm/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)
OpenPOWER on IntegriCloud