Remove -fno-emulated-tls from linux_bionic

This was preventing tools using 'thread_local' from compiling and is
not needed. Bionic fully implements TLS.

Test: cd tools/dexter/slicer; mma
Bug: 31559095
Change-Id: Ib362ad8bc950726080356b61ccae83f155ce040b
This commit is contained in:
Alex Light
2018-10-31 11:18:22 -07:00
parent f2ea4dddeb
commit a08ae8487c

View File

@@ -124,7 +124,7 @@ func (t *toolchainLinuxBionic) ClangLldflags() string {
func (t *toolchainLinuxBionic) ToolchainClangCflags() string {
return "-m64 -march=x86-64" +
// TODO: We're not really android, but we don't have a triple yet b/31393676
" -U__ANDROID__ -fno-emulated-tls"
" -U__ANDROID__"
}
func (t *toolchainLinuxBionic) ToolchainClangLdflags() string {