Skip to content
Snippets Groups Projects
Forked from Pixman / pixman
127 commits behind, 1 commit ahead of the upstream repository.
  • Benjamin Gilbert's avatar
    421fc252
    meson: Add feature to disable compiler TLS support · 421fc252
    Benjamin Gilbert authored and Matt Turner's avatar Matt Turner committed
    When compiling with MinGW, use of the __thread attribute causes pixman
    to gain a dependency on the winpthread DLL.  With Autotools, this could
    be avoided by configuring with ac_cv_tls=none, causing pixman to fall
    back to TlsSetValue() instead.
    
    Add a Meson 'tls' option that can be 'disabled' to skip support for TLS
    compiler attributes, or 'enabled' to require a working TLS attribute.
    421fc252
    History
    meson: Add feature to disable compiler TLS support
    Benjamin Gilbert authored and Matt Turner's avatar Matt Turner committed
    When compiling with MinGW, use of the __thread attribute causes pixman
    to gain a dependency on the winpthread DLL.  With Autotools, this could
    be avoided by configuring with ac_cv_tls=none, causing pixman to fall
    back to TlsSetValue() instead.
    
    Add a Meson 'tls' option that can be 'disabled' to skip support for TLS
    compiler attributes, or 'enabled' to require a working TLS attribute.
meson_options.txt 3.10 KiB