aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/es2api
diff options
context:
space:
mode:
authorKonstantin Kharlamov <[email protected]>2019-02-03 21:36:32 +0300
committerEric Engestrom <[email protected]>2019-02-13 14:20:51 +0000
commitfccc9d3de6cfd1f4d7dbf49af1582b88d143c4cd (patch)
tree7f58dffc5e63e3d49a689de22a9b901fc71bd638 /src/mapi/es2api
parent017349997fd3e194ab3e598712a66c04be5a60ad (diff)
mapi: work around GCC LTO dropping assembly-defined functions
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109391 Signed-off-by: Konstantin Kharlamov <[email protected]> Acked-by: Eric Engestrom <[email protected]> Reviewed-by: Dylan Baker <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mapi/es2api')
-rw-r--r--src/mapi/es2api/meson.build1
1 files changed, 1 insertions, 0 deletions
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],