From: Tom Fogal <tfo...@alumni.unh.edu> Without this, we do not actually respect the request for TLS. --- src/mapi/glapi/Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mapi/glapi/Makefile b/src/mapi/glapi/Makefile index bb4ed65..60b0963 100644 --- a/src/mapi/glapi/Makefile +++ b/src/mapi/glapi/Makefile @@ -15,6 +15,10 @@ glapi_CPPFLAGS := \ -I$(TOP)/src/mapi \ -I$(TOP)/src/mesa +ifeq ($(GLX_TLS), yes) +glapi_CPPFLAGS += -DGLX_USE_TLS +endif # GLX_TLS + ifeq ($(SHARED_GLAPI),1) glapi_CPPFLAGS += \ -DMAPI_MODE_BRIDGE \ -- 1.7.3.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev