Browse Source

Always include the sqrtf wrapper in libm so that we don't need to worry
about conditionally configuring something else for libstdc++.

Manuel Novoa III 20 years ago
parent
commit
5e383688dc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libm/Makefile

+ 2 - 0
libm/Makefile

@@ -74,6 +74,8 @@ CSRC+=   s_expm1.c s_scalbn.c s_copysign.c e_acos.c e_asin.c e_atan2.c \
 	 k_cos.c e_cosh.c e_exp.c e_fmod.c e_log.c e_log10.c e_pow.c \
 	 k_sin.c e_sinh.c e_sqrt.c k_tan.c e_rem_pio2.c k_rem_pio2.c \
 	 s_finite.c
+# We'll add sqrtf to avoid different configurations of libstdc++.
+CSRC+= w_sqrtf.c
 endif
 COBJS=$(patsubst %.c,%.o, $(CSRC))
 OBJS=$(COBJS)