games-engines/xsystem4: workaround cglm memory alignment issue

Signed-off-by: hautist <lookatnadeko@protonmail.com>
This commit is contained in:
hautist
2026-01-12 12:13:17 +00:00
parent 573a402664
commit 05ae4e62c9
2 changed files with 8 additions and 0 deletions

View File

@@ -69,6 +69,10 @@ src_configure() {
local emesonargs=(
$(meson_feature debug debugger)
$(meson_feature gles2 opengles)
# Workaround for unaligned memory access with cglm+AVX
# See: https://github.com/nunuhara/xsystem4/issues/XXX
-Dc_args="-DCGLM_ALL_UNALIGNED"
)
meson_src_configure

View File

@@ -50,6 +50,10 @@ src_configure() {
local emesonargs=(
$(meson_feature debug debugger)
$(meson_feature gles2 opengles)
# Workaround for unaligned memory access with cglm+AVX
# See: https://github.com/nunuhara/xsystem4/issues/XXX
-Dc_args="-DCGLM_ALL_UNALIGNED"
)
meson_src_configure