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
@@ -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