about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/Makefile b/math/Makefile
index 5bdbb066da..ffd7524205 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -57,9 +57,9 @@ libm-calls = e_acos e_acosh e_asin e_atan2 e_atanh e_cosh e_exp e_fmod	\
 	     s_catan s_casin s_ccos s_csin s_ctan s_ctanh s_cacos	\
 	     s_casinh s_cacosh s_catanh s_csqrt s_cpow s_cproj s_clog10 \
 	     s_fma s_lrint s_llrint s_lround s_llround e_exp10
-libm-routines = $(libm-support) $(libm-calls) \
-		$(patsubst %_rf,%f_r,$(libm-calls:=f))	\
-		$(long-m-$(long-double-fcts))
+libm-routines = $(strip $(libm-support) $(libm-calls) \
+			$(patsubst %_rf,%f_r,$(libm-calls:=f))	\
+			$(long-m-$(long-double-fcts)))
 long-m-routines = $(patsubst %_rl,%l_r,$(libm-calls:=l))
 long-m-yes = $(long-m-routines)
 distribute += $(long-m-yes:=.c)