git: 6609a596dbb4 - main - misc/cuttlefish: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Dec 2022 23:00:13 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6609a596dbb41d173df7c0d4c6d56928cbb99973
commit 6609a596dbb41d173df7c0d4c6d56928cbb99973
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-12-01 22:57:55 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-12-01 22:57:55 +0000
misc/cuttlefish: fix build on powerpc
In file included from /wrkdirs/usr/ports/misc/cuttlefish/work/Cuttlefish-2.7.0/lib/libsquish/clusterfit.cpp:27:
In file included from /wrkdirs/usr/ports/misc/cuttlefish/work/Cuttlefish-2.7.0/lib/libsquish/clusterfit.h:32:
In file included from /wrkdirs/usr/ports/misc/cuttlefish/work/Cuttlefish-2.7.0/lib/libsquish/simd.h:32:
In file included from /wrkdirs/usr/ports/misc/cuttlefish/work/Cuttlefish-2.7.0/lib/libsquish/simd_ve.h:29:
/usr/lib/clang/13.0.0/include/altivec.h:13:2: error: "AltiVec support not enabled"
---
misc/cuttlefish/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/misc/cuttlefish/Makefile b/misc/cuttlefish/Makefile
index 639bab70723c..c0baacc7045b 100644
--- a/misc/cuttlefish/Makefile
+++ b/misc/cuttlefish/Makefile
@@ -34,4 +34,6 @@ CMAKE_OFF= CUTTLEFISH_BUILD_DOCS CUTTLEFISH_BUILD_TESTS
CMAKE_ON= CUTTLEFISH_SHARED
CMAKE_TESTING_ON= CUTTLEFISH_BUILD_TESTS
+CXXFLAGS_powerpc= -maltivec
+
.include <bsd.port.mk>