diff options
author | Ian Romanick <idr@us.ibm.com> | 2005-04-13 20:59:15 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2005-04-13 20:59:15 +0000 |
commit | 25fe93f0a11e6f4c8d470441ff91b9cddf7b3023 (patch) | |
tree | fc8e2b7c9509abef30425ecf49aebaf281614a6f /configs/linux-dri | |
parent | c604e457d1ebe9a884b0a1fb08af38a0ce486699 (diff) |
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.
Diffstat (limited to 'configs/linux-dri')
-rw-r--r-- | configs/linux-dri | 2 |
1 files changed, 2 insertions, 0 deletions
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 \ |