blob: 3309836a6f98026836fbce8872981589bb43934b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From e1d8927b7963a9bf2c09e50cd95943c3139313cf Mon Sep 17 00:00:00 2001
From: George Kiagiadakis <george.kiagiadakis@collabora.com>
Date: Mon, 24 Jun 2019 12:19:20 +0300
Subject: [PATCH] arm: build with -mno-unaligned-access
Upstream-Status: Inappropriate [workaround]
See also https://github.com/PipeWire/pipewire/issues/161
---
meson.build | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meson.build b/meson.build
index aa60db35..5cd61fde 100644
--- a/meson.build
+++ b/meson.build
@@ -50,6 +50,11 @@ if cc.get_id() == 'gcc'
language : 'c')
endif
+if host_machine.cpu_family() == 'arm'
+ add_global_arguments('-mno-unaligned-access',
+ language: 'c')
+endif
+
sse_args = '-msse'
sse2_args = '-msse2'
ssse3_args = '-mssse3'
--
2.23.0
|