aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.ide
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-05-22 10:49:47 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-05-22 11:15:49 +0200
commit3bf8320cb8614db81c366c9fb0bdea367e81441a (patch)
tree388318375b9bda891bd1f96da50811468e9999dc /Makefile.ide
parent61e088161858fa7e6ff494cadd7362b9deccd438 (diff)
[build] Add -cclib -lcoqrun options to build of kernel.cmxa.
It seems that it is standard practice in the OCaml world to set the `-cclib` flags at library creation time, at least in native libraries. Indeed, this seems to make linking easier as seen for example in #7563.
Diffstat (limited to 'Makefile.ide')
-rw-r--r--Makefile.ide1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.ide b/Makefile.ide
index 37f698e0c..48b554912 100644
--- a/Makefile.ide
+++ b/Makefile.ide
@@ -147,7 +147,6 @@ $(IDETOPEXE): $(IDETOP:.opt=.$(BEST))
$(IDETOP): ide/idetop.ml $(LINKCMX) $(LIBCOQRUN) $(IDETOPCMX)
$(SHOW)'COQMKTOP -o $@'
$(HIDE)$(OCAMLOPT) -linkall -linkpkg $(MLINCLUDES) -I ide \
- -I kernel/byterun/ -cclib -lcoqrun \
$(SYSMOD) -package camlp5.gramlib \
$(LINKCMX) $(IDETOPCMX) $(OPTFLAGS) $(LINKMETADATA) $< -o $@
$(STRIP) $@