summaryrefslogtreecommitdiff
path: root/libm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libm/Makefile')
-rw-r--r--libm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/Makefile b/libm/Makefile
index b2d123370..9ca4f14a0 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -99,7 +99,7 @@ shared: all
$(LD) $(LDFLAGS) -soname=$(LIBM_SHARED).$(MAJOR_VERSION) \
-o $(LIBM_SHARED_FULLNAME) --whole-archive $(LIBM) \
--no-whole-archive $(TOPDIR)libc/misc/internals/interp.o \
- -L$(TOPDIR)lib -lc; \
+ -L$(TOPDIR)lib -lc $(LDADD_LIBFLOAT) $(LIBGCC); \
$(INSTALL) -d $(TOPDIR)lib; \
$(RM) $(TOPDIR)lib/$(LIBM_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBM_SHARED).$(MAJOR_VERSION); \
$(INSTALL) -m 644 $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib; \