From: Roy Marples Date: Thu, 31 Jul 2008 23:44:08 +0000 (+0000) Subject: Document monotonic clock warning and solution. X-Git-Tag: v4.0.2~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43603fad752ece99c37bf8a763a8e0fd27de4f66;p=thirdparty%2Fdhcpcd.git Document monotonic clock warning and solution. --- diff --git a/README b/README index 5e47faad..d84ab755 100644 --- 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