forked from pool/glibc
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
|
2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
|
|||
|
|
|||
|
[BZ #19822]
|
|||
|
* math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
|
|||
|
move it to the final $@ location.
|
|||
|
|
|||
|
Index: glibc-2.23/NEWS
|
|||
|
===================================================================
|
|||
|
--- glibc-2.23.orig/NEWS
|
|||
|
+++ glibc-2.23/NEWS
|
|||
|
@@ -18,6 +18,7 @@ The following bugs are resolved with thi
|
|||
|
[19759] Don't inline mempcpy for x86
|
|||
|
[19762] Use HAS_ARCH_FEATURE with Fast_Rep_String
|
|||
|
[19792] MIPS: backtrace yields infinite backtrace with makecontext
|
|||
|
+ [19822] libm.so install clobbers old version
|
|||
|
|
|||
|
|
|||
|
Version 2.23
|
|||
|
Index: glibc-2.23/math/Makefile
|
|||
|
===================================================================
|
|||
|
--- glibc-2.23.orig/math/Makefile
|
|||
|
+++ glibc-2.23/math/Makefile
|
|||
|
@@ -100,7 +100,8 @@ $(inst_libdir)/libm.so: $(common-objpfx)
|
|||
|
cat $<; \
|
|||
|
echo 'GROUP ( $(slibdir)/libm.so$(libm.so-version) ' \
|
|||
|
'AS_NEEDED ( $(libdir)/libmvec_nonshared.a $(slibdir)/libmvec.so$(libmvec.so-version) ) )' \
|
|||
|
- ) > $@
|
|||
|
+ ) > $@.new
|
|||
|
+ mv -f $@.new $@
|
|||
|
endif
|
|||
|
|
|||
|
# Rules for the test suite.
|