aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-11-08 12:59:15 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-11-08 12:59:15 +0000
commitef7bceadf4b43c953855013577afac4c2fcb1d62 (patch)
tree1ba7c5f0345f21a8ebe1ee4533f2d3c0099a651c /lib/Basic
parentd2a527eae6df377b326e8d764782bc34f1e64189 (diff)
Set TLSSupported to false on Haiku.
Haiku does not support this (yet). Leaving it set to true leads to configure scripts detecting __thread being available and Clang emitting code for it, resulting in binaries the runtime_loader will refuse to load. Patch by Jonathan Schleifer! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167576 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic')
-rw-r--r--lib/Basic/Targets.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp
index e52013ef0f..ed3bd0be49 100644
--- a/lib/Basic/Targets.cpp
+++ b/lib/Basic/Targets.cpp
@@ -2745,6 +2745,7 @@ public:
IntPtrType = SignedLong;
PtrDiffType = SignedLong;
this->UserLabelPrefix = "";
+ this->TLSSupported = false;
}
virtual void getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const {