From 25fe93f0a11e6f4c8d470441ff91b9cddf7b3023 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 13 Apr 2005 20:59:15 +0000 Subject: Add TLS support to libGL and, by virtue of using glthread.h and GL_CALL, all DRI drivers. A TLS enabled libGL can load a TLS or a non-TLS DRI driver, but a TLS DRI driver requires a TLS enabled libGL. This fixes bug #1822. --- configs/linux-dri | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configs/linux-dri') diff --git a/configs/linux-dri b/configs/linux-dri index 5d44ccd2fc..0953fb223b 100644 --- a/configs/linux-dri +++ b/configs/linux-dri @@ -16,6 +16,8 @@ MKDEP = /usr/X11R6/bin/makedepend WARN_FLAGS = -Wall OPT_FLAGS = -O -g PIC_FLAGS = -fPIC + +# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support. ARCH_FLAGS ?= DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ -- cgit v1.2.3