1 |
From 3f20c0a004e3e8ed4f56114af445ac9eed9e19e6 Mon Sep 17 00:00:00 2001 |
2 |
From: Sergii Romantsov <sergii.romantsov@gmail.com> |
3 |
Date: Thu, 6 Sep 2018 12:59:47 +0300 |
4 |
Subject: [PATCH 18/20] i965/tools: 32bit compilation with meson |
5 |
MIME-Version: 1.0 |
6 |
Content-Type: text/plain; charset=UTF-8 |
7 |
Content-Transfer-Encoding: 8bit |
8 |
|
9 |
Building of 32bit mesa with meson causes issue: |
10 |
"implicit declaration of function ‘__builtin_ia32_clflush’". |
11 |
Fixed by adding msse2 compilation flag. |
12 |
|
13 |
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107843 |
14 |
Fixes: 314879f7fec0 (i965: Fix asynchronous mappings on !LLC platforms.) |
15 |
Signed-off-by: Sergii Romantsov <sergii.romantsov@globallogic.com> |
16 |
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> |
17 |
(cherry picked from commit 97fcccb25ed5f55139c03ebc1c71742f0f25f683) |
18 |
[Andres Gomez: resolve trivial conflicts] |
19 |
Signed-off-by: Andres Gomez <agomez@igalia.com> |
20 |
|
21 |
Conflicts: |
22 |
src/intel/tools/meson.build |
23 |
--- |
24 |
src/intel/tools/meson.build | 2 +- |
25 |
1 file changed, 1 insertion(+), 1 deletion(-) |
26 |
|
27 |
diff --git a/src/intel/tools/meson.build b/src/intel/tools/meson.build |
28 |
index 37bc04d830..bef0af02f9 100644 |
29 |
--- a/src/intel/tools/meson.build |
30 |
+++ b/src/intel/tools/meson.build |
31 |
@@ -70,7 +70,7 @@ if with_tools.contains('intel') |
32 |
dependencies : [dep_dl, dep_thread], |
33 |
include_directories : [inc_common, inc_intel, inc_drm_uapi], |
34 |
link_with : [libintel_common, libmesa_util], |
35 |
- c_args : [c_vis_args, no_override_init_args], |
36 |
+ c_args : [c_vis_args, no_override_init_args, c_sse2_args], |
37 |
install_dir: get_option('libexecdir'), |
38 |
install: true, |
39 |
) |
40 |
-- |
41 |
2.18.0 |
42 |
|