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>
Showing
m4/ax_tls.m4
deleted
100644 → 0
m4/xorg-tls.m4
0 → 100644
Please register or sign in to comment