aboutsummaryrefslogtreecommitdiff
path: root/topbin/dune
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-02-28 00:12:10 +0100
committerEmilio Jesus Gallego Arias2019-06-21 13:02:19 +0200
commit4a60c81e9fc67d98558b48d9f79e2d3610d60d77 (patch)
treebb3a21ec0911f87e8ffa9086a6482c67a65e41d0 /topbin/dune
parent623a431c293dcff42b4bc4dc3dc50c047a9ecbcc (diff)
[dune] Enable optimization options in the compilation of the VM.
So far we didn't setup optimization flags for the VM in the Dune build, but time has come to experiment with such flags, we try -O3. Enabling `-flto` in the final binary build would be great, however this seems to break windows.
Diffstat (limited to 'topbin/dune')
-rw-r--r--topbin/dune2
1 files changed, 2 insertions, 0 deletions
diff --git a/topbin/dune b/topbin/dune
index 3b861afe78..7b77826216 100644
--- a/topbin/dune
+++ b/topbin/dune
@@ -26,6 +26,8 @@
(package coq)
(modules coqc_bin)
(libraries coq.toplevel)
+ ; Adding -ccopt -flto to links options could be interesting, however,
+ ; it doesn't work on Windows
(link_flags -linkall))
(install