From 0bd789bc83e46b7a88c4a1e816ce23b31ae37ad0 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 16 Jun 2022 23:35:20 +0200 Subject: [PATCH] ocaml: remove nopie for musl. Fixes build on native aarch64-musl. --- srcpkgs/ocaml/template | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/srcpkgs/ocaml/template b/srcpkgs/ocaml/template index 7de25d70b82..f44b0b83941 100644 --- a/srcpkgs/ocaml/template +++ b/srcpkgs/ocaml/template @@ -1,7 +1,7 @@ # Template file for 'ocaml' pkgname=ocaml version=4.14.0 -revision=1 +revision=2 build_style="gnu-configure" configure_args="--with-pic --libdir=/usr/lib/ocaml" make_build_target="world.opt" @@ -17,12 +17,8 @@ nocross=yes export ASPP="cc -c" case "$XBPS_TARGET_MACHINE" in - x86_64*|ppc64*) ;; # also just segfaults when compiled without PIE (BSS-PLT?) 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 post_install() {