Pass -femulated-tls to the compiler by default
The MinGW CRT wrapping has a few minor issues that makes native TLS fail at the moment. LLVM doesn't support native TLS on windows/aarch64, but emulated TLS is supported now.
This commit is contained in:
1 parent
9e070797a3
commit
634ae81950
2 files changed
+1
-2
No files matched your search
@@ -68,7 +68,6 @@ normal GCC/binutils based MinGW.
|
||||
the dllimport attributes.
|
||||
- The C++ libraries ([libcxxabi](http://libcxxabi.llvm.org/), [libcxx](http://libcxx.llvm.org/)) can only be linked statically
|
||||
at the moment.
|
||||
- The ARM64 target doesn't support thread local variables.
|
||||
|
||||
Additionally, one may run into other minor differences between GCC and clang.
|
||||
|
||||
|
||||
@@ -21,4 +21,4 @@ x86_64)
|
||||
EH_FLAG=-fdwarf-exceptions
|
||||
;;
|
||||
esac
|
||||
$DIR/$EXE -target $TARGET -rtlib=compiler-rt -stdlib=libc++ -fuse-ld=lld $EH_FLAG -Qunused-arguments "$@"
|
||||
$DIR/$EXE -target $TARGET -rtlib=compiler-rt -stdlib=libc++ -fuse-ld=lld $EH_FLAG -Qunused-arguments -femulated-tls "$@"
|
||||
Reference in new issue
Block a user