ocaml: remove nopie for musl.
Fixes build on native aarch64-musl.
This commit is contained in:
parent
0c09b69bd5
commit
0bd789bc83
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'ocaml'
|
# Template file for 'ocaml'
|
||||||
pkgname=ocaml
|
pkgname=ocaml
|
||||||
version=4.14.0
|
version=4.14.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style="gnu-configure"
|
build_style="gnu-configure"
|
||||||
configure_args="--with-pic --libdir=/usr/lib/ocaml"
|
configure_args="--with-pic --libdir=/usr/lib/ocaml"
|
||||||
make_build_target="world.opt"
|
make_build_target="world.opt"
|
||||||
@ -17,12 +17,8 @@ nocross=yes
|
|||||||
export ASPP="cc -c"
|
export ASPP="cc -c"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*|ppc64*) ;;
|
|
||||||
# also just segfaults when compiled without PIE (BSS-PLT?)
|
# also just segfaults when compiled without PIE (BSS-PLT?)
|
||||||
ppc-musl) broken="/usr/bin/ocamlc: unsupported relocation type 6";;
|
ppc-musl) broken="/usr/bin/ocamlc: unsupported relocation type 6";;
|
||||||
# https://github.com/ocaml/ocaml/issues/7562
|
|
||||||
# for ppc we solved this separately though
|
|
||||||
*-musl) nopie=yes ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user