Juce fails build with "Thread local storage is unsupported"

I just fetched the freshest Juce from git and now when I try to build anything with it the build fails with error message
"Thread-local storage is unsupported for the current target".

Am I missing some voodoo here?

I got the same error message when building new version of introjucer from freshest git until I changed compiler to GCC from llvm-GCC.

I should of course state I’m using mac OSX 10.7 and xcode 4.1 as well.

xcode 4.1 is pretty old + defunct now - you should move up to the latest one, to get the latest compilers.