mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
math/openblas64: fix build on powerpc64*
While here, -lm doesn't seem to be necessary anymore.
This commit is contained in:
parent
124ca49027
commit
dda2036864
@ -63,7 +63,6 @@ USE_GCC= yes
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == powerpc64le
|
||||
CFLAGS+= -lm
|
||||
USE_GCC= yes
|
||||
.endif
|
||||
|
||||
|
11
math/openblas64/files/patch-param.h
Normal file
11
math/openblas64/files/patch-param.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- param.h.orig 2024-06-23 08:32:52 UTC
|
||||
+++ param.h
|
||||
@@ -2553,7 +2553,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILI
|
||||
|
||||
#endif
|
||||
|
||||
-#if defined(POWER9) && defined(OS_LINUX)
|
||||
+#if defined(POWER9) && (defined(OS_LINUX) || defined(OS_FREEBSD))
|
||||
|
||||
#define SNUMOPT 16
|
||||
#define DNUMOPT 8
|
Loading…
Reference in New Issue
Block a user