summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-10-02 20:22:56 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-10-02 20:22:56 +0200
commit8a1b58a6c8a0827d53838669a35e3fb1c23e07dd (patch)
tree45856c55c189a6b6c2e7af218c89548a2ca71216
parent1d49ccdd73c182ad9f280d21d5a5e88bd59db871 (diff)
Add timer routines
* sysdeps/pthread/Makefile (librt-sysdep_routines) [subdir = rt]: Add timer_routines.
-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)"'