From 29ff9055c80efe77a7130767a9fcb3ab8c67e8ce Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 24 Sep 2016 02:55:31 +0200 Subject: use a single libc and deduplicate threading code Similar to musl libc a single libc has many benefits and solves some open issues with uClibc-ng. - no pthread_mutex_* weak symbols exported anymore - applications no longer failing to link when either -lrt or -lpthread are missing for dynamic and static linking mode - smaller C library - slightly better runtime performance --- libcrypt/Makefile.in | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'libcrypt') diff --git a/libcrypt/Makefile.in b/libcrypt/Makefile.in index eb2d45246..fe3df2995 100644 --- a/libcrypt/Makefile.in +++ b/libcrypt/Makefile.in @@ -9,13 +9,6 @@ subdirs += libcrypt CFLAGS-libcrypt := -DNOT_IN_libc -DIS_IN_libcrypt $(SSP_ALL_CFLAGS) -LDFLAGS-$(UCLIBC_FORMAT_DSBT_ELF)-libcrypt.so := -Wl,--dsbt-index=4 -LDFLAGS-libcrypt.so := $(LDFLAGS) - -LIBS-libcrypt.so := $(LIBS) - -libcrypt_FULL_NAME := libcrypt-$(VERSION).so - libcrypt_DIR := $(top_srcdir)libcrypt libcrypt_OUT := $(top_builddir)libcrypt @@ -35,31 +28,11 @@ libcrypt-a-y := $(libcrypt_OBJ) endif libcrypt-so-y := $(libcrypt_OBJ:.o=.os) -lib-a-$(UCLIBC_HAS_CRYPT) += $(top_builddir)lib/libcrypt.a -lib-so-$(UCLIBC_HAS_CRYPT) += $(top_builddir)lib/libcrypt.so objclean-y += CLEAN_libcrypt -ifeq ($(DOPIC),y) -$(top_builddir)lib/libcrypt.so: $(top_builddir)lib/libcrypt.a $(libc.depend) -else -$(top_builddir)lib/libcrypt.so: $(libcrypt_OUT)/libcrypt_so.a $(libc.depend) -endif - $(call link.so,$(libcrypt_FULL_NAME),$(ABI_VERSION)) - # link for backward compatibility - $(call link.so,$(libcrypt_FULL_NAME),0) - -$(libcrypt_OUT)/libcrypt_so.a: $(libcrypt-so-y) - $(Q)$(RM) $@ - $(do_ar) - $(libcrypt_OUT)/libcrypt.oS: $(libcrypt_SRC) $(Q)$(RM) $@ $(compile-m) -$(top_builddir)lib/libcrypt.a: $(libcrypt-a-y) - $(Q)$(INSTALL) -d $(dir $@) - $(Q)$(RM) $@ - $(do_ar) - CLEAN_libcrypt: $(do_rm) $(addprefix $(libcrypt_OUT)/*., o os oS a) -- cgit v1.2.3