Date: Tue, 16 Jan 2024 14:35:32 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: db8307281286 - main - math/openblas: fix build on powerpc64le Message-ID: <202401161435.40GEZWgF051078@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=db83072812864aae7d7ae2354a4e1d9ec93fb179 commit db83072812864aae7d7ae2354a4e1d9ec93fb179 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-01-13 20:08:32 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-01-16 14:35:23 +0000 math/openblas: fix build on powerpc64le /usr/local/bin/ld: ../libopenblasp-r0.3.25.a(dnrm2_k_POWER8.o): undefined reference to symbol 'sqrt@@FBSD_1.0' --- math/openblas/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/math/openblas/Makefile b/math/openblas/Makefile index 2e16efdb506e..cf23f359fa20 100644 --- a/math/openblas/Makefile +++ b/math/openblas/Makefile @@ -80,6 +80,7 @@ TARGET_CPU_ARCH= PPCG4 .endif .if ${ARCH} == powerpc64le +CFLAGS+= -lm USE_GCC= yes .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401161435.40GEZWgF051078>