git: 931fdd5cd8a1 - main - math/ocaml-num: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Dec 2024 14:00:59 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=931fdd5cd8a1c6c85ac84de377a87c24bb0ad9a1 commit 931fdd5cd8a1c6c85ac84de377a87c24bb0ad9a1 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-12-31 13:52:12 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-12-31 14:00:11 +0000 math/ocaml-num: fix build on powerpc cc: error: invalid linker name in argument '-fuse-ld=bfd' --- math/ocaml-num/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/math/ocaml-num/Makefile b/math/ocaml-num/Makefile index 4b2387b1399f..a9b4ef234367 100644 --- a/math/ocaml-num/Makefile +++ b/math/ocaml-num/Makefile @@ -20,4 +20,10 @@ MAKE_ENV= OCAMLFIND_DESTDIR="${STAGEDIR}${OCAMLFIND_DESTDIR}" MAKE_JOBS_UNSAFE= yes TEST_TARGET= test +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +LLD_UNSAFE= yes +.endif + .include <bsd.port.mk>