On Mon, Feb 21, 2011 at 8:12 PM, Tom Fogal <tfo...@sci.utah.edu> wrote: > From: Tom Fogal <tfo...@alumni.unh.edu> > > Without this, we do not actually respect the request for TLS. What is your setup? The macro should be defined as part of $(CFLAGS). It may not be a good practice as the variable is normally considered a user variable, but mesa does not quite support that.
> --- > 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 > -- o...@lunarg.com _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev