mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
coq: fix build with bytecode.
This commit is contained in:
parent
85971d29c4
commit
0ee43e2bf9
1 changed files with 7 additions and 0 deletions
|
@ -20,6 +20,13 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
ppc*) broken="R_PPC_REL24 relocation out of range";;
|
ppc*) broken="R_PPC_REL24 relocation out of range";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
do_patch() {
|
||||||
|
if ! command -v ocamlc.opt >/dev/null; then
|
||||||
|
# see coq/coq#18609
|
||||||
|
vsed -i -e 's/dep ^ ".cmxs"/dep ^ ".cma"/' tools/dune_rule_gen/coq_rules.ml
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make dunestrap
|
make dunestrap
|
||||||
dune build --display=short -p coq-core,coq-stdlib,coqide-server
|
dune build --display=short -p coq-core,coq-stdlib,coqide-server
|
||||||
|
|
Loading…
Add table
Reference in a new issue