diff options
author | Sergii Romantsov <sergii.romantsov@gmail.com> | 2018-09-06 12:59:47 +0300 |
---|---|---|
committer | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2018-09-06 11:55:57 +0100 |
commit | 4aec44c0d9c4c0649c362199fac97efe0a3b38a4 (patch) | |
tree | 7e576ea977ab4dece9f550319a9d8f64e335343d | |
parent | b9fe8ff23dcfe4956be1eac4de0838d4a3720315 (diff) |
i965/tools: 32bit compilation with meson
Building of 32bit mesa with meson causes issue:
"implicit declaration of function ‘__builtin_ia32_clflush’".
Fixed by adding msse2 compilation flag.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107843
Fixes: 314879f7fec0 (i965: Fix asynchronous mappings on !LLC platforms.)
Signed-off-by: Sergii Romantsov <sergii.romantsov@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
-rw-r--r-- | src/intel/tools/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/meson.build b/src/intel/tools/meson.build index 3617478ad73..44d6bdd78a4 100644 --- a/src/intel/tools/meson.build +++ b/src/intel/tools/meson.build @@ -90,7 +90,7 @@ libintel_sanitize_gpu = shared_library( dependencies : [dep_dl, dep_thread], include_directories : [inc_common, inc_intel, inc_drm_uapi], link_with : [libintel_common, libmesa_util], - c_args : [c_vis_args, no_override_init_args], + c_args : [c_vis_args, no_override_init_args, c_sse2_args], build_by_default : true, install_dir: get_option('libexecdir'), install: true |