summaryrefslogtreecommitdiff
path: root/test/math
diff options
context:
space:
mode:
Diffstat (limited to 'test/math')
-rw-r--r--test/math/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/math/Makefile.in b/test/math/Makefile.in
index 914fc75a8..b495c0bf5 100644
--- a/test/math/Makefile.in
+++ b/test/math/Makefile.in
@@ -31,7 +31,7 @@ PERL := /usr/bin/perl
MDEPS := $(wildcard test-*.c)
$(MDEPS): libm-test.c
-TARGET_ULP := $(TARGET_ARCH)
+TARGET_ULP := $(if $(wildcard libm-test-ulps-$(TARGET_ARCH)),$(TARGET_ARCH),generic)
ULP_SUFFIX :=
ifeq ($(TARGET_ARCH),mips)
ULP_SUFFIX:=$(if $(CONFIG_MIPS_ISA_MIPS64R1)$(CONFIG_MIPS_ISA_MIPS64R2),64,32)