diff --git a/godot.changes b/godot.changes index b2c27e2..ac33668 100644 --- a/godot.changes +++ b/godot.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Apr 29 12:37:28 UTC 2021 - Guillaume GARDET + +- Disable modules unsupported on aarch64 and %arm: + * module_denoise_enabled + * module_lightmapper_cpu_enabled + * module_raycast_enabled + ------------------------------------------------------------------- Thu Apr 22 12:00:00 UTC 2021 - cunix@mail.de diff --git a/godot.spec b/godot.spec index 0b62619..0b50536 100644 --- a/godot.spec +++ b/godot.spec @@ -293,11 +293,18 @@ done mkdir -pv thirdparty/certs touch thirdparty/certs/ca-certificates.crt -%define build_args %{?_smp_mflags} \\\ +%define build_args_common %{?_smp_mflags} \\\ progress=no verbose=yes udev=yes use_lto=1 \\\ use_static_cpp=no CCFLAGS='%{optflags}' \\\ system_certs_path=%{ca_bundle} $system_libs +%ifarch aarch64 %arm +# Disable unsupported features - https://github.com/godotengine/godot/issues/48297#issuecomment-829165296 +%define build_args %{build_args_common} module_denoise_enabled=no module_lightmapper_cpu_enabled=no module_raycast_enabled=no +%else +%define build_args %{build_args_common} +%endif + # Build graphical editor (tools) # rename x11 to linuxbsd ? scons %{build_args} platform=x11 tools=yes target=release_debug