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 --- libresolv/Makefile.in | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'libresolv') diff --git a/libresolv/Makefile.in b/libresolv/Makefile.in index 89ef4f791..3425a7c73 100644 --- a/libresolv/Makefile.in +++ b/libresolv/Makefile.in @@ -9,13 +9,6 @@ subdirs += libresolv CFLAGS-libresolv := -DNOT_IN_libc -DIS_IN_libresolv $(SSP_ALL_CFLAGS) -LDFLAGS-$(UCLIBC_FORMAT_DSBT_ELF)-libresolv.so := -Wl,--dsbt-index=7 -LDFLAGS-libresolv.so := $(LDFLAGS) $(call link.asneeded,-lc) - -LIBS-libresolv.so := $(LIBS) - -libresolv_FULL_NAME := libresolv-$(VERSION).so - libresolv_DIR := $(top_srcdir)libresolv libresolv_OUT := $(top_builddir)libresolv @@ -29,27 +22,7 @@ libresolv-a-y := $(libresolv_OBJ) endif libresolv-so-y := $(libresolv_OBJ:.o=.os) -lib-a-$(UCLIBC_HAS_LIBRESOLV_STUB) += $(top_builddir)lib/libresolv.a -lib-so-$(UCLIBC_HAS_LIBRESOLV_STUB) += $(top_builddir)lib/libresolv.so objclean-y += CLEAN_libresolv -ifeq ($(DOPIC),y) -$(top_builddir)lib/libresolv.so: $(top_builddir)lib/libresolv.a $(libc.depend) -else -$(top_builddir)lib/libresolv.so: $(libresolv_OUT)/libresolv_so.a $(libc.depend) -endif - $(call link.so,$(libresolv_FULL_NAME),$(ABI_VERSION)) - # link for backward compatibility - $(call link.so,$(libresolv_FULL_NAME),0) - -$(libresolv_OUT)/libresolv_so.a: $(libresolv-so-y) - $(Q)$(RM) $@ - $(do_ar) - -$(top_builddir)lib/libresolv.a: $(libresolv-a-y) - $(Q)$(INSTALL) -d $(dir $@) - $(Q)$(RM) $@ - $(do_ar) - CLEAN_libresolv: $(do_rm) $(addprefix $(libresolv_OUT)/*., o os a) -- cgit v1.2.3