Meson: Remove FIXME about _REENTRANT

As per discussion in GLib and Meson issues, this flag is not needed
anymore with modern gcc/clang. We only support GCC on Solaris now. This
might break the Sun/Oracle compilers on Solaris but Meson does not
suppor them (yet) anyway.

https://gitlab.gnome.org/GNOME/glib/issues/1432
https://github.com/mesonbuild/meson/issues/3810
This commit is contained in:
Xavier Claessens 2018-07-04 10:08:40 -04:00
parent 6ee43d69fe
commit 814d6a5956

View File

@ -1518,7 +1518,6 @@ if host_system == 'windows' and not get_option('force_posix_threads')
glibconfig_conf.set('g_threads_impl_def', 'WIN32')
glib_conf.set('THREADS_WIN32', 1)
else
# FIXME: probably needs more tweaking in meson for things like -D_REENTRANT etc.
thread_dep = dependency('threads')
threads_implementation = 'posix'
pthread_prefix = '''