[Mesa-dev] [PATCH] Define GLX_USE_TLS when the user asks for TLS.

Dan Nicholson dbn.lists at gmail.com
Tue Feb 22 08:17:37 PST 2011

On Mon, Feb 21, 2011 at 9:11 PM, Chia-I Wu <olvaffe at gmail.com> wrote:
> On Mon, Feb 21, 2011 at 8:12 PM, Tom Fogal <tfogal at sci.utah.edu> wrote:
>> From: Tom Fogal <tfogal at 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.

Yeah, that was an unfortunate thing that I propagated in the initial
autoconf support because all the existing Makefiles used bare
$(CFLAGS). It would be really good (although completely mind numbing)
if someone would make a local CFLAGS (e.g. MESA_CFLAGS or LOCAL_CFLAGS
or something) and add that into all the Makefiles where CFLAGS are
used. Then we could alter configure.ac and configs/* to put Mesa's
compiler settings in that variable and leave the user's CFLAGS
settings alone. Same thing with CPPFLAGS and LDFLAGS if we hack on
those (don't recall right now).


More information about the mesa-dev mailing list