aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-04-13 00:51:21 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-04-13 00:51:21 +0000
commit9c5ef725fecb10e5ba6c7064f55cb8eb54db9072 (patch)
treec6eaf9986f0284c87ea83f88ea67b93b80e5ffe5
parentc6132c766da2e4cf17cce9a001331560f6d330ab (diff)
downloadports-9c5ef725fecb10e5ba6c7064f55cb8eb54db9072.tar.gz
ports-9c5ef725fecb10e5ba6c7064f55cb8eb54db9072.zip
graphics/diplib: fix build on powerpc64
/wrkdirs/usr/ports/graphics/diplib/work/diplib-3.4.0/dependencies/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'?
-rw-r--r--graphics/diplib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/diplib/Makefile b/graphics/diplib/Makefile
index 42b3093688e6..091793b0d9e8 100644
--- a/graphics/diplib/Makefile
+++ b/graphics/diplib/Makefile
@@ -16,6 +16,7 @@ USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= DIPlib
+CXXFLAGS_powerpc64= -mvsx
CMAKE_OFF= DIP_BUILD_PYDIP
CMAKE_TESTING_ON= DIP_ENABLE_DOCTEST
CMAKE_TESTING_TARGET= check # one test fails, see https://github.com/DIPlib/diplib/issues/120