summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/pthread/Makefile')
-rw-r--r--sysdeps/pthread/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
index 0596130..f5dbd25 100644
--- a/sysdeps/pthread/Makefile
+++ b/sysdeps/pthread/Makefile
@@ -1,3 +1,6 @@
+ifeq ($(subdir),rt)
+librt-sysdep_routines += timer_routines
+endif
ifeq ($(subdir),posix)
# FIXME: this is not getting $(pthread-version) from libpthread/Makefile!
CFLAGS-confstr.c += -DLIBPTHREAD_VERSION='"libpthread $(pthread-version)"'