Module: Mesa
Branch: master
Commit: e8d10a15f1da00dfec68a8b7e247076d19958851
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8d10a15f1da00dfec68a8b7e247076d19958851

Author: Adam Jackson <[email protected]>
Date:   Thu Mar 25 18:13:46 2021 -0400

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

Reviewed-by: Eric Engestrom <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9992>

---

 src/glx/meson.build | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/glx/meson.build b/src/glx/meson.build
index 58f9e1aa896..8f642d5e14b 100644
--- a/src/glx/meson.build
+++ b/src/glx/meson.build
@@ -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@[email protected].@1@"'.format(gl_lib_name, 
gl_lib_version.split('.')[0]),
   ],
   gnu_symbol_visibility : 'hidden',

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to