summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-08-13 04:35:03 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-08-13 04:35:03 +0000
commit5e383688dc73a3b18d41eabe7714539e39bea752 (patch)
tree7b9dc1a72bf2aca589e1e6c822b89ea311b4401c
parent6ca9cc33a35f2d3b45ddc77438b94753b514b59f (diff)
Always include the sqrtf wrapper in libm so that we don't need to worry
about conditionally configuring something else for libstdc++.
-rw-r--r--libm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libm/Makefile b/libm/Makefile
index 9ca4f14a0..cdecf0991 100644
--- a/libm/Makefile
+++ b/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)