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 --- libuargp/Makefile.in | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'libuargp') diff --git a/libuargp/Makefile.in b/libuargp/Makefile.in index f1ccfa640..91d41ce02 100644 --- a/libuargp/Makefile.in +++ b/libuargp/Makefile.in @@ -11,12 +11,6 @@ CFLAGS-libuargp := -DNOT_IN_libc -DIS_IN_libuargp $(SSP_ALL_CFLAGS) -LDFLAGS-libuargp.so := $(LDFLAGS) - -LIBS-libuargp.so := $(LIBS) - -libuargp_FULL_NAME := libuargp-$(VERSION).so - libuargp_DIR := $(top_srcdir)libuargp libuargp_OUT := $(top_builddir)libuargp @@ -39,30 +33,11 @@ libuargp-a-y := $(libuargp_OBJS) endif libuargp-so-y := $(libuargp_OBJS:.o=.os) -lib-a-$(UCLIBC_HAS_ARGP) += $(top_builddir)lib/libuargp.a -lib-so-$(UCLIBC_HAS_ARGP) += $(top_builddir)lib/libuargp.so - objclean-y += CLEAN_libuargp -ifeq ($(DOPIC),y) -$(top_builddir)lib/libuargp.so: $(top_builddir)lib/libuargp.a $(libc.depend) -else -$(top_builddir)lib/libuargp.so: $(libuargp_OUT)/libuargp_so.a $(libc.depend) -endif - $(call link.so,$(libuargp_FULL_NAME),$(MAJOR_VERSION)) - -$(libuargp_OUT)/libuargp_so.a: $(libuargp-so-y) - $(Q)$(RM) $@ - $(do_ar) - $(libuargp_OUT)/libuargp.oS: $(libuargp_SRCS) $(Q)$(RM) $@ $(compile-m) -$(top_builddir)lib/libuargp.a: $(libuargp-a-y) - $(Q)$(INSTALL) -d $(dir $@) - $(Q)$(RM) $@ - $(do_ar) - CLEAN_libuargp: $(do_rm) $(addprefix $(libuargp_OUT)/*., o os oS a) -- cgit v1.2.3