Check if Solaris ld supports -z relax=transtls
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 7 May 2019 10:38:45 +0000 (10:38 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Tue, 7 May 2019 10:38:45 +0000 (10:38 +0000)
commitbca0a3216deff39ec9e4dcf979fff7f313ca6486
treed79aa195465ae2ce02cb47114bdbe8ec96cd4401
parent9edfa4c015a3ae0451a30259ef654c632f9f4ca5
Check if Solaris ld supports -z relax=transtls

* m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): Only use -z
relax=transtls if linker supports it.
* configure.ac (enable_libphobos, LIBPHOBOS_SUPPORTED): Move down.
(x86_64-*-solaris2.* | i?86-*-solaris2.*): Only
mark supported with either gld or ld -z relax=transtls.
* configure: Regenerate.

From-SVN: r270939
libphobos/ChangeLog
libphobos/configure
libphobos/configure.ac
libphobos/m4/druntime/os.m4