about summary refs log tree commit diff
path: root/sysdeps/x86_64/fpu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/fpu/Makefile')
-rw-r--r--sysdeps/x86_64/fpu/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/x86_64/fpu/Makefile b/sysdeps/x86_64/fpu/Makefile
index 2b7d69bb50..ed26226623 100644
--- a/sysdeps/x86_64/fpu/Makefile
+++ b/sysdeps/x86_64/fpu/Makefile
@@ -25,8 +25,10 @@ libmvec-support += svml_d_cos2_core svml_d_cos4_core_avx \
 libmvec-static-only-routines = svml_finite_alias
 endif
 
-# Variables for libmvec tests.
 ifeq ($(subdir),math)
+libm-routines += sfp-exceptions
+
+# Variables for libmvec tests.
 ifeq ($(build-mathvec),yes)
 libmvec-tests += double-vlen2 double-vlen4 double-vlen4-avx2 \
 		 float-vlen4 float-vlen8 float-vlen8-avx2