mapi: work around GCC LTO dropping assembly-defined functions
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109391 Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru> Acked-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
committed by
Eric Engestrom
parent
017349997f
commit
fccc9d3de6
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user