On Mon, Aug 22, 2016 at 10:49:30AM +1200, Bryan Christianson wrote: > We need to make sure that chrony compiled on macOS 10.12 (or later) will > still run on versions earlier than macOS 10.12
Hm, is that a common practice on macOS to run binaries compiled on newer version of the system? For instance, on Linux with glibc (using versioned symbols) that wouldn't work. > This patch allows that but I’m not sure it’s structured correctly for chrony > and I don’t like the duplication of the gettimeofday() fallback. > Another option would be to modify configure so that HAVE_CLOCK_GETTIME is > never set on macOS but that doesn’t feel right either. I don't know, both seem like ugly hacks to me. I'd rather add a more general "--without-clock-gettime" option to the configure script, so you can disable it if you have a good reason, but leave the detection enabled by default. -- Miroslav Lichvar -- To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the subject. Trouble? Email listmas...@chrony.tuxfamily.org.