git: 674528444d90 - main - math/stp: Use more accurate fix for the TLS problem

Gleb Popov <[email protected]> Tue, 04 Aug 2026 17:35:39 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=674528444d90f8b6626f68470475446e8afdd86b

commit 674528444d90f8b6626f68470475446e8afdd86b
Author:     Gleb Popov <[email protected]>
AuthorDate: 2026-08-04 13:34:14 +0000
Commit:     Gleb Popov <[email protected]>
CommitDate: 2026-08-04 17:35:04 +0000

    math/stp: Use more accurate fix for the TLS problem
    
    Reported by:    kib
---
 math/stp/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/stp/Makefile b/math/stp/Makefile
index 341d2c9a82b0..cc80498058b1 100644
--- a/math/stp/Makefile
+++ b/math/stp/Makefile
@@ -32,7 +32,7 @@ CMAKE_TESTING_ON=	ENABLE_TESTING
 
 # Workaround the Python problem
 # OSError: /usr/local/lib/libstp.so: No space available for static Thread Local Storage
-TEST_ENV=	LD_PRELOAD=${BUILD_WRKSRC}/lib/libstp.so
+TEST_ENV=	LD_STATIC_TLS_EXTRA=1024
 
 TESTING_UNSAFE=	llvm-lit based tests fail because our LLVM package does not ship "not"