mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
toolchain.eclass: default to -mtls-dialect=gnu2 with GCC 16 on x86_64
Bug: https://gcc.gnu.org/PR120933 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1581,6 +1581,10 @@ toolchain_src_configure() {
|
||||
--enable-__cxa_atexit
|
||||
--enable-clocale=gnu
|
||||
)
|
||||
|
||||
if [[ ${CTARGET} == *linux* ]] && tc_version_is_at_least 16.0.0_p20251214 ${PV} ; then
|
||||
confgcc+=( --with-tls=gnu2 )
|
||||
fi
|
||||
;;
|
||||
*-solaris*)
|
||||
confgcc+=( --enable-__cxa_atexit )
|
||||
|
||||
Reference in New Issue
Block a user