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'
This commit is contained in:
Piotr Kubaj 2024-01-13 21:08:32 +01:00
parent 02b24eeb01
commit db83072812
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ TARGET_CPU_ARCH= PPCG4
.endif
.if ${ARCH} == powerpc64le
CFLAGS+= -lm
USE_GCC= yes
.endif