diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-22 01:44:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-22 01:44:51 +0000 |
commit | b20ee706efe1c40b016efe41e1486ef6e10d6880 (patch) | |
tree | 50ac361f0276a2b51593471b7a392287211d582f /libm/Makefile.in | |
parent | 28cfdb86441668581d1d8efd11137bb8da9f65a4 (diff) |
rework depends and stripping so that libraries arent rebuilt all the time in a loop
Diffstat (limited to 'libm/Makefile.in')
-rw-r--r-- | libm/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
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) |