c3d20fa4a0
- Fix build on aarch64: * angelscript-fix-aarch64.patch OBS-URL: https://build.opensuse.org/request/show/882700 OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=17
18 lines
595 B
Diff
18 lines
595 B
Diff
--- sdk/angelscript/projects/meson/meson.build.orig 2021-04-02 07:42:31.195376514 +0000
|
|
+++ sdk/angelscript/projects/meson/meson.build 2021-04-02 07:43:50.493193363 +0000
|
|
@@ -50,6 +50,14 @@ if host_machine.cpu_family() == 'arm'
|
|
]
|
|
endif
|
|
|
|
+if host_machine.cpu_family() == 'aarch64'
|
|
+ add_languages('c')
|
|
+ angel_srcs += [
|
|
+ '../../source/as_callfunc_arm64.cpp',
|
|
+ '../../source/as_callfunc_arm64_gcc.S',
|
|
+ ]
|
|
+endif
|
|
+
|
|
angelscript_version_num = run_command(find_program('python3'), 'detect_ver.py', '--num').stdout().strip()
|
|
angelscript_lib = library(
|
|
'angelscript',
|