[Mesa-dev] [PATCH] Define GLX_USE_TLS when the user asks for TLS.
Tom Fogal
tfogal at sci.utah.edu
Mon Feb 21 19:12:54 PST 2011
From: Tom Fogal <tfogal at 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
More information about the mesa-dev
mailing list