From fccc9d3de6cfd1f4d7dbf49af1582b88d143c4cd Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Sun, 3 Feb 2019 21:36:32 +0300 Subject: mapi: work around GCC LTO dropping assembly-defined functions Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109391 Signed-off-by: Konstantin Kharlamov Acked-by: Eric Engestrom Reviewed-by: Dylan Baker Reviewed-by: Eric Engestrom --- src/mapi/es2api/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mapi/es2api/meson.build') diff --git a/src/mapi/es2api/meson.build b/src/mapi/es2api/meson.build index a7f0904b699..c6e9261bcc8 100644 --- a/src/mapi/es2api/meson.build +++ b/src/mapi/es2api/meson.build @@ -33,6 +33,7 @@ libgles2 = shared_library( c_args : [ c_msvc_compat_args, c_vis_args, '-DMAPI_MODE_BRIDGE', '-DMAPI_ABI_HEADER="@0@"'.format(es2_glapi_mapi_tmp_h.full_path()), + gcc_lto_quirk, ], link_args : [ld_args_gc_sections], include_directories : [inc_src, inc_include, inc_mapi], -- cgit v1.2.3