mirror of git://sourceware.org/git/glibc.git
Better design of libm.a installation rule.
* math/Makefile ($(inst_libdir)/libm-$(version).a): New target. * ($(inst_libdir)/libm.a): Fix rule to create the target only.
This commit is contained in:
parent
5f4f13b47a
commit
ffb8455c43
|
@ -1,3 +1,8 @@
|
|||
2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
|
||||
|
||||
* math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
|
||||
($(inst_libdir)/libm.a): Fix rule to create the target only.
|
||||
|
||||
2016-12-13 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* sysdeps/powerpc/dl-procinfo.c: Don't define
|
||||
|
|
|
@ -143,15 +143,18 @@ $(inst_libdir)/libm.so: $(common-objpfx)format.lds \
|
|||
) > $@.new
|
||||
mv -f $@.new $@
|
||||
|
||||
$(inst_libdir)/libm-$(version).a: $(objpfx)libm.a \
|
||||
$(+force)
|
||||
$(do-install)
|
||||
|
||||
$(inst_libdir)/libm.a: $(common-objpfx)format.lds \
|
||||
$(libm) \
|
||||
$(libmvec) \
|
||||
$(inst_libdir)/libm-$(version).a \
|
||||
$(objpfx)../mathvec/libmvec.a \
|
||||
$(+force)
|
||||
(echo '/* GNU ld script'; echo '*/';\
|
||||
cat $<; \
|
||||
echo 'GROUP ( $(libdir)/libm-$(lib-version).a $(libdir)/libmvec.a )' \
|
||||
echo 'GROUP ( $(libdir)/libm-$(version).a $(libdir)/libmvec.a )' \
|
||||
) > $@.new
|
||||
cp $(objpfx)libm.a $(inst_libdir)/libm-$(lib-version).a
|
||||
mv -f $@.new $@
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue