git: caf9f9dc9a6c - main - games/openclonk: fix build on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Jun 2023 18:26:29 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=caf9f9dc9a6c36bb1316b52301a88cfd32945402
commit caf9f9dc9a6c36bb1316b52301a88cfd32945402
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-06-15 18:22:44 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-06-15 18:26:13 +0000
games/openclonk: fix build on powerpc64le
In file included from /wrkdirs/usr/ports/games/openclonk/work/openclonk-release-8.1-src/thirdparty/blake2/blake2b.c:28:
In file included from /usr/lib/clang/14.0.5/include/ppc_wrappers/emmintrin.h:43:
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
---
games/openclonk/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/games/openclonk/Makefile b/games/openclonk/Makefile
index dc565d626eb9..e545da0ef953 100644
--- a/games/openclonk/Makefile
+++ b/games/openclonk/Makefile
@@ -33,6 +33,7 @@ USE_GL= gl glew glu
USE_SDL= sdl2
USE_XORG= x11 xpm
CMAKE_ARGS= -DAudio_TK:STRING="OpenAL"
+CFLAGS_powerpc64le= -DNO_WARN_X86_INTRINSICS
LDFLAGS_i386= -Wl,-znotext
.include <bsd.port.pre.mk>