diff options
author | marha <marha@users.sourceforge.net> | 2011-06-03 08:18:04 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-06-03 08:18:04 +0200 |
commit | cda19b1d226d565f1ca4327aeae827c621b3dfd6 (patch) | |
tree | 8a511d718c888b17c257a905607068613359f9a6 /xorg-server/m4 | |
parent | 4d7ec99788d8a1d56ff4bccea279ae8186b18cdc (diff) | |
download | vcxsrv-cda19b1d226d565f1ca4327aeae827c621b3dfd6.tar.gz vcxsrv-cda19b1d226d565f1ca4327aeae827c621b3dfd6.tar.bz2 vcxsrv-cda19b1d226d565f1ca4327aeae827c621b3dfd6.zip |
xserver xkeyboard-config mesa git update 3 Jun 2011
Diffstat (limited to 'xorg-server/m4')
-rw-r--r-- | xorg-server/m4/xorg-tls.m4 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xorg-server/m4/xorg-tls.m4 b/xorg-server/m4/xorg-tls.m4 index 563850420..237fdcd9e 100644 --- a/xorg-server/m4/xorg-tls.m4 +++ b/xorg-server/m4/xorg-tls.m4 @@ -22,6 +22,7 @@ dnl dnl Authors: Jeremy Huddleston <jeremyhu@apple.com> AC_DEFUN([XORG_TLS], [ + AC_REQUIRE([XORG_STRICT_OPTION]) AC_MSG_CHECKING(for thread local storage (TLS) support) AC_CACHE_VAL(ac_cv_tls, [ ac_cv_tls=none @@ -36,10 +37,7 @@ AC_DEFUN([XORG_TLS], [ AC_MSG_CHECKING(for tls_model attribute support) AC_CACHE_VAL(ac_cv_tls_model, [ save_CFLAGS="$CFLAGS" - dnl -Werror causes clang's default -Wunknown-attributes to become an error - dnl We can't use -Werror=unknown-attributes because gcc doesn't understand it - dnl -Werror=attributes is for gcc, clang seems to ignore it - CFLAGS="$CFLAGS -Werror -Werror=attributes" + CFLAGS="$CFLAGS $STRICT_CFLAGS" AC_TRY_COMPILE([int $ac_cv_tls __attribute__((tls_model("initial-exec"))) test;], [], ac_cv_tls_model=yes, ac_cv_tls_model=no) CFLAGS="$save_CFLAGS" |