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:
@@ -74,6 +74,7 @@ TARGET_CPU_ARCH= POWER8
|
||||
.else
|
||||
TARGET_CPU_ARCH= PPC970
|
||||
. endif
|
||||
CFLAGS+= -lm
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == powerpc
|
||||
|
||||
Reference in New Issue
Block a user