Restore subdir conditional for tst-timer dependency.

This commit is contained in:
Siddhesh Poyarekar 2014-07-03 18:52:51 -07:00 committed by Roland McGrath
parent 69862e2511
commit 38851324d8
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-07-03 Roland McGrath <roland@hack.frob.com>
* sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
thing) with "ifeq ($(subdir),rt)".
2014-07-03 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.

View File

@ -16,8 +16,12 @@
# License along with the GNU C Library; if not, see
# <http://www.gnu.org/licenses/>.
ifeq ($(subdir),rt)
ifeq (yes,$(build-shared))
$(objpfx)tst-timer: $(objpfx)librt.so $(shared-thread-library)
else
$(objpfx)tst-timer: $(objpfx)librt.a $(static-thread-library)
endif
endif