Mesa (master): glx: Don't pointlesly add -D_REENTRANT to libGL's cflags

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 13 23:31:32 UTC 2021


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

Author: Adam Jackson <ajax at redhat.com>
Date:   Thu Mar 25 18:13:46 2021 -0400

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

Reviewed-by: Eric Engestrom <eric at engestrom.ch>
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 at 0@.so. at 1@"'.format(gl_lib_name, gl_lib_version.split('.')[0]),
   ],
   gnu_symbol_visibility : 'hidden',



More information about the mesa-commit mailing list