summaryrefslogtreecommitdiff
path: root/libm/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-03 06:17:34 (GMT)
committerEric Andersen <andersen@codepoet.org>2001-07-03 06:17:34 (GMT)
commit094983cd14c21fe112a5ef09bbd347b938349e86 (patch)
tree806c84f42a79267b7d9a251a0c35bb76b45c8dc2 /libm/Makefile
parentb8308706e4b5035d6fd643e9f90d193ff3d91789 (diff)
Force our child libs to link vs libc
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 c6ac49c..5813ee9 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -53,7 +53,7 @@ tags:
shared: all
if [ -f $(LIBM) ] ; then \
$(TARGET_CC) $(TARGET_LDFLAGS) -nostdlib -shared -o $(LIBM_SHARED_FULLNAME) \
- -Wl,-soname,$(LIBM_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBM); \
+ -Wl,-soname,$(LIBM_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBM) -lc; \
install -d $(TOPDIR)lib; \
rm -f $(TOPDIR)lib/$(LIBM_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBM_SHARED).$(MAJOR_VERSION); \
install -m 644 $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib; \