summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-11-20 15:30:15 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-11-21 13:13:24 -0300
commit52524467afc2398140c65a8ca4c937a085e592b5 (patch)
tree63bc7e4b4786424df2443920540ce52e56f0e83b
parent4d695077b893c4e65c451e4d7ff91e01c05d4efa (diff)
bench-malloc-thread: Add libm for powf
The compiler might not constant fold the call, which issues linker error. Reviewed-by: Sam James <sam@gentoo.org>
-rw-r--r--benchtests/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 5a405f6fbb..2ecdde857e 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -397,6 +397,8 @@ $(addprefix $(objpfx)bench-,$(bench-pthread)): $(thread-library-benchtests)
$(addprefix $(objpfx)bench-,$(bench-malloc)): $(thread-library-benchtests)
$(addprefix $(objpfx)bench-,pthread-locks): $(libm-benchtests)
$(addprefix $(objpfx)bench-,pthread-mutex-locks): $(libm-benchtests)
+$(addprefix $(objpfx)bench-,malloc-thread): $(libm-benchtests)
+$(addprefix $(objpfx)bench-,calloc-thread): $(libm-benchtests)