On Mon, Feb 21, 2011 at 9:11 PM, Chia-I Wu <olva...@gmail.com> wrote: > 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.
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). -- Dan _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev