diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-24 02:55:31 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-26 20:23:24 +0200 |
commit | 29ff9055c80efe77a7130767a9fcb3ab8c67e8ce (patch) | |
tree | b061656c1336d7d73ed5eef59352e3d50d8147a7 /libm/Makefile.in | |
parent | b06f85d62c41a4ed108628b1c564203f36c0ab4e (diff) |
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
Diffstat (limited to 'libm/Makefile.in')
-rw-r--r-- | libm/Makefile.in | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/libm/Makefile.in b/libm/Makefile.in index 0d6ca057e..9b40a9400 100644 --- a/libm/Makefile.in +++ b/libm/Makefile.in @@ -24,13 +24,6 @@ subdirs += libm libm/$(TARGET_ARCH) CFLAGS-libm := -DNOT_IN_libc -DIS_IN_libm $(SSP_ALL_CFLAGS) -LDFLAGS-$(UCLIBC_FORMAT_DSBT_ELF)-libm.so := -Wl,--dsbt-index=5 -LDFLAGS-libm.so := $(LDFLAGS) - -LIBS-libm.so := $(LIBS) - -libm_FULL_NAME := libm-$(VERSION).so - libm_DIR:=$(top_srcdir)libm libm_OUT:=$(top_builddir)libm @@ -286,32 +279,12 @@ libm-a-y += $(libm_OBJS) endif libm-so-y += $(libm_OBJS:.o=.os) -lib-a-$(UCLIBC_HAS_FLOATS) += $(top_builddir)lib/libm.a -lib-so-$(UCLIBC_HAS_FLOATS) += $(top_builddir)lib/libm.so objclean-y += CLEAN_libm -ifeq ($(DOPIC),y) -$(top_builddir)lib/libm.so: $(top_builddir)lib/libm.a $(libc.depend) -else -$(top_builddir)lib/libm.so: $(libm_OUT)/libm_so.a $(libc.depend) -endif - $(call link.so,$(libm_FULL_NAME),$(ABI_VERSION)) - # link for backward compatibility - $(call link.so,$(libm_FULL_NAME),0) - -$(libm_OUT)/libm_so.a: $(libm-so-y) - $(Q)$(RM) $@ - $(do_ar) - $(libm_OUT)/libm.oS: $(libm_SRC) $(libm_MSRC_FL) $(libm_MSRC_LD) $(libm_ARCH_SRC) $(Q)$(RM) $@ $(compile-m) -$(top_builddir)lib/libm.a: $(libm-a-y) - $(Q)$(INSTALL) -d $(dir $@) - $(Q)$(RM) $@ - $(do_ar) - $(libm_MOBJ_FL): $(libm_MSRC_FL) $(compile.m) |