summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rules.mak6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index e845f8196..1dbd392b2 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -202,9 +202,13 @@ LDADD_LIBFLOAT=
ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
# Add -msoft-float to the CPU_FLAGS since ldso and libdl ignore CFLAGS.
# If -msoft-float isn't supported, we want an error anyway.
+# Hmm... might need to revisit this for arm since it has 2 different
+# soft float encodings.
CPU_CFLAGS += -msoft-float
ifeq ($(strip $(TARGET_ARCH)),arm)
- LDADD_LIBFLOAT=-lfloat
+# No longer needed with current toolchains, but leave it here for now.
+# If anyone is actually still using gcc 2.95 (say), they can uncomment it.
+# LDADD_LIBFLOAT=-lfloat
endif
endif