From 6ef0bd02dbe34aab8b956ffa2db5679341d520f5 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 7 Mar 2025 21:40:55 +0100 Subject: posix: Move environ helper variables next to environ definition (bug 32541) This helps with statically interposing getenv. Updates commit 7a61e7f557a97ab597d6fca5e2d1f13f65685c61 ("stdlib: Make getenv thread-safe in more cases"). Reviewed-by: H.J. Lu --- stdlib/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stdlib/Makefile') diff --git a/stdlib/Makefile b/stdlib/Makefile index 1c4fa2382f..c9c8f702a2 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -282,6 +282,7 @@ tests := \ tst-environ-change-3 \ tst-environ-change-4 \ tst-getenv-signal \ + tst-getenv-static \ tst-getenv-thread \ tst-getenv-unsetenv \ tst-getrandom \ @@ -377,6 +378,7 @@ tests-internal := \ # tests-internal tests-static := \ + tst-getenv-static \ tst-secure-getenv \ # tests-static -- cgit v1.2.3