diff options
author | 2010-10-20 20:25:33 +0000 | |
---|---|---|
committer | 2010-10-20 20:25:33 +0000 | |
commit | 53c043b5f3fa0953819b19b81c8c7a370175d6b3 (patch) | |
tree | 8e9ebf521f1c5a80c7bdfed9750899a5435eb02f | |
parent | Merge OpenCVS' rcs_deltatext_set into OpenRCS, fixing a memory leak. (diff) | |
download | wireguard-openbsd-53c043b5f3fa0953819b19b81c8c7a370175d6b3.tar.xz wireguard-openbsd-53c043b5f3fa0953819b19b81c8c7a370175d6b3.zip |
Disable __thread for alpha on OpenBSD. ok matthieu.
A few others mumbled and grumbled and didn't say much but this is blocking
X builds on alpha.
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h b/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h index 4077a71c359..9a09e869c16 100644 --- a/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h @@ -79,3 +79,8 @@ Boston, MA 02111-1307, USA. */ /* don't want no friggin' stack checks. */ #undef STACK_CHECK_BUILTIN #define STACK_CHECK_BUILTIN 0 + +/* OpenBSD doesn't currently supprot thread-local storage. */ +/* alpha.c undefs TARGET_HAVE_TLS and redefines it to HAVE_AS_TLS !?!?! */ +#undef HAVE_AS_TLS +#define HAVE_AS_TLS false |