From 6458c346b8fbd08d459cfc6251cd4e8219288f47 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Thu, 16 Jan 2025 10:35:00 +0100 Subject: [PATCH] textproc/ocaml-yojson: fix build on powerpc --- textproc/ocaml-yojson/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/textproc/ocaml-yojson/Makefile b/textproc/ocaml-yojson/Makefile index e092811b1ff8..7e5c401551f1 100644 --- a/textproc/ocaml-yojson/Makefile +++ b/textproc/ocaml-yojson/Makefile @@ -25,6 +25,12 @@ OPTIONS_DEFINE= DOCS DUNE_INSTALL_TARGETS= ${OCAML_PACKAGES} +.include + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + post-install: @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/bin/ydump \