From: Adhemerval Zanella Date: Thu, 5 Feb 2026 17:49:59 +0000 (-0300) Subject: x86: Build tst-gnu2-tls2-x86* iff compiler supports TLS descriptor X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60a3b44f603f1410a6fd2a63f96da65095269bad;p=thirdparty%2Fglibc.git x86: Build tst-gnu2-tls2-x86* iff compiler supports TLS descriptor The test modules are built with -mtls-dialect=$(have-test-mtls-descriptor), similar to tst-gnu2-tls2. Checked on x86_64-linux-gnu. --- diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile index e32a430bb9..b16f4a3404 100644 --- a/sysdeps/x86/Makefile +++ b/sysdeps/x86/Makefile @@ -27,11 +27,15 @@ tests += \ tst-cpu-features-supports-static \ tst-get-cpu-features \ tst-get-cpu-features-static \ + tst-hwcap-tunables \ +# tests +ifneq (no,$(have-test-mtls-descriptor)) +tests += \ tst-gnu2-tls2-x86-noxsave \ tst-gnu2-tls2-x86-noxsavec \ tst-gnu2-tls2-x86-noxsavexsavec \ - tst-hwcap-tunables \ # tests +endif tests-static += \ tst-cpu-features-cpuinfo-static \ tst-cpu-features-supports-static \