meta-agl-core: remove IMAGE_FSTYPES override
[AGL/meta-agl.git] / meta-pipewire / recipes-multimedia / pipewire / pipewire / 0002-arm-build-with-mno-unaligned-access.patch
1 From e4b81946baf2d8c08de87088c01a1d87ae4f03d9 Mon Sep 17 00:00:00 2001
2 From: George Kiagiadakis <george.kiagiadakis@collabora.com>
3 Date: Mon, 24 Jun 2019 12:19:20 +0300
4 Subject: [PATCH] arm: build with -mno-unaligned-access
5
6 Upstream-Status: Inappropriate [workaround]
7 See also https://gitlab.freedesktop.org/pipewire/pipewire/issues/161
8 ---
9  meson.build | 5 +++++
10  1 file changed, 5 insertions(+)
11
12 diff --git a/meson.build b/meson.build
13 index c9da6b4d..5c121339 100644
14 --- a/meson.build
15 +++ b/meson.build
16 @@ -52,6 +52,11 @@ if cc.get_id() == 'gcc'
17                         language : 'c')
18  endif
19  
20 +if host_machine.cpu_family() == 'arm'
21 +  add_global_arguments('-mno-unaligned-access',
22 +    language: 'c')
23 +endif
24 +
25  sse_args = '-msse'
26  sse2_args = '-msse2'
27  ssse3_args = '-mssse3'
28 -- 
29 2.24.0
30