Avoid race conditions when rebuilding librt.so
authorPalmer Dabbelt <palmer@dabbelt.com>
Wed, 27 Dec 2017 04:56:44 +0000 (20:56 -0800)
committerPalmer Dabbelt <palmer@dabbelt.com>
Sun, 7 Jan 2018 07:42:21 +0000 (23:42 -0800)
commit8e13c51bb579d56b52e93a058c9efb0bbab35d1b
tree5e26a5b8fc6660c91460c9b8903faa9240f1d5a9
parent1598f3ad06db9654a5d112136e40b630649405c3
Avoid race conditions when rebuilding librt.so

`make check' sometimes triggers a rebuild of librt.so using
nptl/Makefile, which ignores librt's dependence on libpthread.  This
causes the build to blow up when we attempt to run the test suite on
RISC-V.

2018-01-06  Palmer Dabbelt  <palmer@sifive.com>

        * nptl/Makefile (/librt.so): Always depend on
        "$(shared-thread-library)".
ChangeLog
nptl/Makefile