]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
crossbuild: Make the CHECK_TIME variable work on Linux
authorarichardson <arichardson@FreeBSD.org>
Tue, 6 Feb 2018 15:41:45 +0000 (15:41 +0000)
committerarichardson <arichardson@FreeBSD.org>
Tue, 6 Feb 2018 15:41:45 +0000 (15:41 +0000)
commitd4989b30eebbb0435cc687d2ca3d760b21f0be9b
treefb280d29dafa24cff7eea4022f15d820a1b0e5e4
parent20f24e68c5832e2e04e6f1ffb37a3a612a90117a
crossbuild: Make the CHECK_TIME variable work on Linux

Linux /usr/bin/find doesn't understand the -mtime -0s flag.
Instead create a temporary file and compare that file's mtime to
sys/sys/param.h to check whether the clock is correct.

Reviewed By: jhb, imp
Approved By: jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D14157
Makefile