devel/godot: fix build on powerpc64*
JPH_DVECTOR_ALIGNMENT needs to match with JPH_VECTOR_ALIGNMENT.
This commit is contained in:
@@ -109,7 +109,7 @@ X11_MAKE_ARGS_OFF= x11=False
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH:Mpowerpc*} || ${ARCH:Mriscv64*}
|
||||
.if ${ARCH} == powerpc || ${ARCH:Mriscv64*}
|
||||
MAKE_ARGS+= module_embree_enabled=no \
|
||||
module_raycast_enabled=no \
|
||||
module_webm_enabled=no
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- thirdparty/jolt_physics/Jolt/Core/Core.h.orig 2025-08-13 15:24:56 UTC
|
||||
+++ thirdparty/jolt_physics/Jolt/Core/Core.h
|
||||
@@ -215,7 +215,7 @@
|
||||
#define JPH_CPU_BIG_ENDIAN
|
||||
#endif
|
||||
#define JPH_VECTOR_ALIGNMENT 16
|
||||
- #define JPH_DVECTOR_ALIGNMENT 8
|
||||
+ #define JPH_DVECTOR_ALIGNMENT 16
|
||||
#elif defined(__loongarch__)
|
||||
// LoongArch CPU architecture
|
||||
#define JPH_CPU_LOONGARCH
|
||||
Reference in New Issue
Block a user