summaryrefslogtreecommitdiff
path: root/libc/Makefile
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-01-16 00:46:39 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-01-16 00:46:39 +0000
commit1e9f0a819889c8921f17fc604d9c10ea9bd2645d (patch)
tree376f220afa8648291848965137ea659a41b65686 /libc/Makefile
parentf6997e6b87ed383396ec2b3c8852f266180e8c28 (diff)
Link with libfloat if necessary.
Diffstat (limited to 'libc/Makefile')
-rw-r--r--libc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/Makefile b/libc/Makefile
index cb64ea1bd..4233f200d 100644
--- a/libc/Makefile
+++ b/libc/Makefile
@@ -58,7 +58,7 @@ shared: $(TOPDIR)lib/$(LIBNAME)
$(LD) $(LDFLAGS) $(VERSION_SCRIPT) -soname=$(SHARED_MAJORNAME) -o $(SHARED_FULLNAME) \
--whole-archive $(LIBNAME) \
$(TOPDIR)libc/misc/internals/interp.o --no-whole-archive \
- -init __uClibc_init $(LIBGCC)
+ -init __uClibc_init $(LIBGCC) $(LDADD_LIBFLOAT)
@true #$(RM) -r tmp
$(INSTALL) -d $(TOPDIR)lib
$(RM) $(TOPDIR)lib/$(SHARED_FULLNAME)