1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

math/openblas: fix build on powerpc64

-lm is necessary:
/usr/local/bin/ld: ../libopenblas_ppc970p-r0.3.33.a(bgemm_thread_nn.o): undefined reference to symbol 'sqrt@@FBSD_1.0'
/usr/local/bin/ld: /lib/libm.so.5: error adding symbols: DSO missing from command line
This commit is contained in:
Piotr Kubaj
2026-05-14 12:42:12 +02:00
parent 53c104ec13
commit eb7f22935b
+1
View File
@@ -74,6 +74,7 @@ TARGET_CPU_ARCH= POWER8
.else
TARGET_CPU_ARCH= PPC970
. endif
CFLAGS+= -lm
.endif
.if ${ARCH} == powerpc