From b20ee706efe1c40b016efe41e1486ef6e10d6880 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 22 Nov 2005 01:44:51 +0000 Subject: rework depends and stripping so that libraries arent rebuilt all the time in a loop --- libm/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libm') diff --git a/libm/Makefile.in b/libm/Makefile.in index 4a021fccf..7b6a781cf 100644 --- a/libm/Makefile.in +++ b/libm/Makefile.in @@ -128,7 +128,7 @@ lib-a-$(UCLIBC_HAS_FLOATS) += $(top_builddir)lib/libm.a lib-so-$(UCLIBC_HAS_FLOATS) += $(top_builddir)lib/libm.so objclean-y += libm_clean -$(top_builddir)lib/libm.so: $(libm_OUT)/libm_so.a libc-y +$(top_builddir)lib/libm.so: $(libm_OUT)/libm_so.a $(libc-so-dep) $(call link.so,$(libm_FULL_NAME),$(MAJOR_VERSION)) $(libm_OUT)/libm_so.a: $(libm-so-y) @@ -139,11 +139,13 @@ $(libm_OUT)/libm_so.a: $(libm-so-y) ifeq ($(DOPIC),y) $(top_builddir)lib/libm.a: $(libm-a-y:.o=.os) else -$(top_builddir)lib/libm.a: $(libm-a-y) +$(top_builddir)lib/libm.a: $(libm-a-y) $(libm_OUT)/libm_so.a endif $(Q)$(INSTALL) -d $(dir $@) $(Q)$(RM) $@ +ifneq ($(DOPIC),y) $(do_strip) +endif $(do_ar) $(libm_MOBJ): $(libm_MSRC) -- cgit v1.2.3