summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-04-23 21:24:27 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-04-25 18:56:56 -0700
commitbb4d145bd25e2aee988b100ecf1105ea3b6a40b8 (patch)
treecb8ddca62971af33b950dfd35308332f45864a28 /include
parent5c9eafc8e5f8575c06591d244c2cb5ea07691cb4 (diff)
glx: Silence warnings when building with clang
This replaces AX_TLS (GPL3) with XORG_TLS (MIT) In file included from glapi.c:46: In file included from ./glapi.h:51: ./glthread.h:237:20: error: unknown attribute 'tls_model' ignored [-Werror,-Wunknown-attributes] __attribute__((tls_model("initial-exec"))); ^ In file included from glapi.c:46: ./glapi.h:92:20: error: unknown attribute 'tls_model' ignored [-Werror,-Wunknown-attributes] __attribute__((tls_model("initial-exec"))); ^ glapi.c:82:20: error: unknown attribute 'tls_model' ignored [-Werror,-Wunknown-attributes] __attribute__((tls_model("initial-exec"))) = NULL; ^ glapi.c:85:20: error: unknown attribute 'tls_model' ignored [-Werror,-Wunknown-attributes] __attribute__((tls_model("initial-exec"))); ^ 4 errors generated. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Tested-by: Jamey Sharp <jamey@minilop.net> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/dix-config.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 14229b435..e473bb750 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -447,7 +447,7 @@
/* Define to 1 if you have the `ffs' function. */
#undef HAVE_FFS
-/* If the compiler supports a TLS storage class define it to that here */
+/* The compiler supported TLS storage class, prefering initial-exec if tls_model is supported */
#undef TLS
/* Correctly set _XSERVER64 for OSX fat binaries */