Accepting request 882700 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- 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
This commit is contained in:
parent
970c41de2b
commit
c3d20fa4a0
17
angelscript-fix-aarch64.patch
Normal file
17
angelscript-fix-aarch64.patch
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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',
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 2 07:48:45 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Fix build on aarch64:
|
||||
* angelscript-fix-aarch64.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 13 13:14:00 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
|
@ -27,6 +27,7 @@ URL: https://www.angelcode.com/angelscript/
|
||||
Source: https://www.angelcode.com/angelscript/sdk/files/%{name}_%{version}.zip
|
||||
# PATCH-FEATURE-OPENSUSE angelscript-addons_lib.patch aloisio@gmx.com -- build and install addons library
|
||||
Patch0: angelscript-addons_lib.patch
|
||||
Patch1: angelscript-fix-aarch64.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: meson >= 0.49.0
|
||||
|
Loading…
Reference in New Issue
Block a user