Browse Source

cleanup libc.a

The nested libpthread_nonshared.a and libdl.os shouldn't be included
in the static libc.a. Fixes compile issues for static builds.
Waldemar Brodkorb 7 years ago
parent
commit
9b1077dc70
2 changed files with 0 additions and 3 deletions
  1. 0 1
      libc/Makefile.in
  2. 0 2
      libpthread/nptl/Makefile.in

+ 0 - 1
libc/Makefile.in

@@ -44,7 +44,6 @@ endif
 
 libc-a-y += $(libnsl-a-y)
 libc-a-y += $(libresolv-a-y)
-libc-a-$(HAVE_SHARED) += $(libdl-a-y)
 libc-a-y += $(libm-a-y)
 libc-a-$(UCLIBC_HAS_LIBUTIL) += $(libutil-a-y)
 libc-a-$(UCLIBC_HAS_CRYPT) += $(libcrypt-a-y)

+ 0 - 2
libpthread/nptl/Makefile.in

@@ -41,8 +41,6 @@ else
 libpthread-a-y := $(libpthread-static-y)
 endif
 
-libpthread-a-y += $(top_builddir)lib/libpthread_nonshared.a
-
 libc-shared-routines-y := $(filter-out $(notdir $(libpthread_libc_OBJS:.o=.c)), $(libc-shared-routines-y))
 libc-static-routines-y := $(filter-out $(notdir $(libpthread_libc_OBJS:.o=.c)), $(libc-static-routines-y))
 libc-shared-routines-y := $(addprefix $(libpthread_OUT)/,$(libc-shared-routines-y:.c=.oS))