Skip to content

Commit

Permalink
math/openblas: fix build on powerpc64le
Browse files Browse the repository at this point in the history
/usr/local/bin/ld: ../libopenblasp-r0.3.25.a(dnrm2_k_POWER8.o): undefined reference to symbol 'sqrt@@FBSD_1.0'
  • Loading branch information
pkubaj committed Jan 16, 2024
1 parent 02b24ee commit db83072
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions math/openblas/Makefile
Expand Up @@ -80,6 +80,7 @@ TARGET_CPU_ARCH= PPCG4
.endif

.if ${ARCH} == powerpc64le
CFLAGS+= -lm
USE_GCC= yes
.endif

Expand Down

0 comments on commit db83072

Please sign in to comment.