aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--math/Makefile4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b76a184e71..d2132be616 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-06-23 Joseph Myers <joseph@codesourcery.com>
+
+ * math/Makefile [$(PERL) != no]
+ ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
+ dependency on libm-test.stmp below the inclusion of Rules.
+
2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
* sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
diff --git a/math/Makefile b/math/Makefile
index 7f6b85ec0d..2c78dd0bb9 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -144,7 +144,6 @@ $(objpfx)test-double.o: $(objpfx)libm-test.stmp
$(objpfx)test-idouble.o: $(objpfx)libm-test.stmp
$(objpfx)test-ldouble.o: $(objpfx)libm-test.stmp
$(objpfx)test-ildoubl.o: $(objpfx)libm-test.stmp
-$(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests))): $(objpfx)libm-test.stmp
endif
libm-test-fast-math-cflags = -fno-builtin -D__FAST_MATH__ -DTEST_FAST_MATH
@@ -196,6 +195,9 @@ extra-objs += libieee.a ieee-math.o
include ../Rules
ifneq (no,$(PERL))
+# This must come after the inclusion of sysdeps Makefiles via Rules.
+$(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests))): $(objpfx)libm-test.stmp
+
# Run the math programs to automatically generate ULPs files.
.PHONY: regen-ulps