]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Document monotonic clock warning and solution.
authorRoy Marples <roy@marples.name>
Thu, 31 Jul 2008 23:44:08 +0000 (23:44 +0000)
committerRoy Marples <roy@marples.name>
Thu, 31 Jul 2008 23:44:08 +0000 (23:44 +0000)
README

diff --git a/README b/README
index 5e47faad0e46676391aeea8b4a857a621a6124a9..d84ab755f8cdb5a632679c91d513dc494ed4afcb 100644 (file)
--- a/README
+++ b/README
@@ -18,6 +18,12 @@ OS=BSD | Linux
 If you're building for a NOMMU system where fork() does not work, you should
 add -DTHERE_IS_NO_FORK to your CPPFLAGS.
 
+dhcpcd will try and use a monotonic clock when possible.
+Some libc implementations do not correctly report that they have a monotonic
+clock, but they have the headers to make it work. dhcpcd will warn about this.
+To force the use of a monotonic clock you can add -DFORCE_MONOTONIC
+to your CPPFLAGS.
+
 You can change the default dir with these knobs.
 For example, to satisfy FHS compliance you would do this:-
 LIBEXECDIR=/lib/dhcpcd