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:
Martin Storsjö committed 2017-12-04 13:49:32 +02:00
1 parent 9e070797a3
commit 634ae81950
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -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 "$@"