about summary refs log tree commit diff
path: root/wcsmbs/test-wcscmp.c
diff options
context:
space:
mode:
authorDylan Alex Simon <dylan-sourceware@dylex.net>2016-03-15 13:20:01 -0400
committerMike Frysinger <vapier@gentoo.org>2016-03-21 02:07:51 -0400
commitf9378ac3773ffe998a2b3406568778ee9f77f759 (patch)
tree4c4ef1c7a1e7f94c6601cada058180c276dd05ca /wcsmbs/test-wcscmp.c
parent6bc81cf205a1f4c14d5ac8e664cf1126a5d2acab (diff)
downloadglibc-f9378ac3773ffe998a2b3406568778ee9f77f759.tar.gz
glibc-f9378ac3773ffe998a2b3406568778ee9f77f759.tar.xz
glibc-f9378ac3773ffe998a2b3406568778ee9f77f759.zip
math: don't clobber old libm.so on install [BZ #19822]
When installing glibc (w/mathvec enabled) in-place on a system with
a glibc w/out mathvec enabled, the install will clobber the existing
libm.so (e.g., /lib64/libm-2.21.so) with a linker script.  This is
because libm.so is a symlink to libm.so.6 which is a symlink to the
final libm-2.21.so file.  When the makefile writes the linker script
directly to libm.so, it gets clobbered.

The simple patch below to math/Makefile fixes this.  It is based on
the nptl Makefile, which does exactly the same thing in a safer way.
Diffstat (limited to 'wcsmbs/test-wcscmp.c')
0 files changed, 0 insertions, 0 deletions