summary refs log tree commit diff
path: root/math/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/Makefile')
-rw-r--r--math/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/Makefile b/math/Makefile
index e966c9889e..4c8703c71e 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -521,12 +521,12 @@ include $(o-iterator)
 
 run-regen-ulps = $(test-wrapper-env) \
 	    $(run-program-env) \
-	    $($*-ENV) $(rtld-prefix) $${run}
+	    $($*-ENV) $(rtld-prefix) $(objpfx)$${run}
 
 regen-ulps: $(addprefix $(objpfx),$(libm-tests))
 	rm -f $(objpfx)ULPs; rm -f $(objpfx)NewUlps; \
 	cp $(ulps-file) $(objpfx)libm-test-ulps; \
-	for run in $^; do \
+	for run in $(libm-tests); do \
 	  echo "Regenerating ULPs for $${run}"; \
 	  $(run-regen-ulps) -u -o $(objpfx); \
 	  cat $(objpfx)ULPs >> $(objpfx)libm-test-ulps; \