glx: Don't pointlesly add -D_REENTRANT to libGL's cflags

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9992>
This commit is contained in:
Adam Jackson 2021-03-25 18:13:46 -04:00 committed by Marge Bot
parent b1cb0af596
commit e8d10a15f1

View file

@ -122,16 +122,11 @@ else
)
endif
gl_lib_cargs = [
'-D_REENTRANT',
]
libglx = static_library(
'glx',
[files_libglx, glx_generated],
include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_glapi, inc_loader],
c_args : [
gl_lib_cargs,
'-DGL_LIB_NAME="lib@0@.so.@1@"'.format(gl_lib_name, gl_lib_version.split('.')[0]),
],
gnu_symbol_visibility : 'hidden',