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 --- libintl/Makefile.in | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'libintl') diff --git a/libintl/Makefile.in b/libintl/Makefile.in index 6c3e79b69..b54e23dad 100644 --- a/libintl/Makefile.in +++ b/libintl/Makefile.in @@ -9,12 +9,6 @@ subdirs += libintl CFLAGS-libintl := -DNOT_IN_libc -DIS_IN_libintl $(SSP_ALL_CFLAGS) -LDFLAGS-libintl.so := $(LDFLAGS) - -LIBS-libintl.so := $(LIBS) - -libintl_FULL_NAME := libintl-$(VERSION).so - MOBJ := \ gettext.o ngettext.o dgettext.o dcgettext.o dngettext.o dcngettext.o \ textdomain.o bindtextdomain.o bind_textdomain_codeset.o \ @@ -33,32 +27,12 @@ libintl-a-y := $(libintl_MOBJ) endif libintl-so-y := $(libintl_MOBJ:.o=.os) -lib-a-$(UCLIBC_HAS_GETTEXT_AWARENESS) += $(top_builddir)lib/libintl.a -lib-so-$(UCLIBC_HAS_GETTEXT_AWARENESS) += $(top_builddir)lib/libintl.so objclean-y += CLEAN_libintl -ifeq ($(DOPIC),y) -$(top_builddir)lib/libintl.so: $(top_builddir)lib/libintl.a $(libc.depend) -else -$(top_builddir)lib/libintl.so: $(libintl_OUT)/libintl_so.a $(libc.depend) -endif - $(call link.so,$(libintl_FULL_NAME),$(ABI_VERSION)) - # link for backward compatibility - $(call link.so,$(libintl_FULL_NAME),0) - -$(libintl_OUT)/libintl_so.a: $(libintl-so-y) - $(Q)$(RM) $@ - $(do_ar) - $(libintl_OUT)/libintl.oS: $(libintl_MSRC) $(Q)$(RM) $@ $(compile-m) -$(top_builddir)lib/libintl.a: $(libintl-a-y) - $(Q)$(INSTALL) -d $(dir $@) - $(Q)$(RM) $@ - $(do_ar) - $(libintl_MOBJ): $(libintl_MSRC) $(compile.m) -- cgit v1.2.3